Jump to content


Active Members
  • Posts

  • Joined

  • Last visited

Everything posted by silentknight329

  1. Haven't learned anything about loops yet, I'll do some research into it and see what i can do. Thanks
  2. I'm still trying to figure out how to be able to compare as many characters as i want, just a little stuck, would using an array help me get started? Thanks
  3. Thanks for the help guys, I am a really novice programmer, dont even know how to loop yet I'm not to sure what the else does, I've never seen it before, I'll google it right after, here's what I'm understanding the code to be: #include <stdio.h> #include <stdlib.h> int main() { char let1; char let2; char let3; printf("Input three letters:"); scanf("%c, %c, %c",&let1, &let2, &let3); if(let1<=let2 && let1<=let3) /* let1 is less than or equal to let2 and let3 print let1 */ { printf("%c is the lowest\n",let1); } else if(let2<=let3) /* not to sure what the "else" statement does, but im assuming it means if the statement above isnt true and if let2 is less than or equal to let3 print let2 lowest */ { printf("%c is the lowest\n",let2); } else /* if neither of the above statements are true print let3 lowest */ { printf("%c is the lowest\n",let3); } system("PAUSE"); return 0; } Also for the very first "if" do you have to use && like saying equals being ==? I'll work on editing that code for this next hour here to compare as many letters as possible Thanks for the help guys, appreciate it
  4. Hey guys, I'm working on a challenge that our professor gave us today, its not worth marks or anything but just something to do on our spare time. We only know the very basics of "c" as its early in the term. we know things like scanf, printf, if, char, int, etc... Here's the challenge: write a program which will ask the user to input three letters. Determine which letter comes first in the alphabet and display it on the screen. (hint: A equals 97 in the ASCII table). I'm basically having trouble getting started.... here is the code i have: /* Filename: atoz.c Written By: Silentknight329 Date: Jan 18, 2012 */ #include <stdio.h> #include <stdlib.h> int main() { char let1; char let2; char let3; printf("Input three letters:"); scanf("%c, %c, %c",&let1, &let2, &let3); system("PAUSE"); return 0; } If you guys wouldnt mind giving me some pointers or even links to really good tutorials would be rad Thanks Silentknight329
  5. Hey guys, been a long time since i've posted, so i decided i'd post here to re-introduce myself Favourite game: skryim Favourite OS: Win7 Favourite console: xbox 360 Nationality: Canadian Accent: Canadian.. if thats an accent Sex: Male Age:19 Race: cocasian Height: 6'2 Build: scrawny but tall Favourite band: Lamb of God Favourite book: The God Delusion Favourite movie: Sherlock Holmes Favourite actor: Robert Downey Jr. Favourite actress: Maggie Smith Favourite Pinup: Jessica Alba Favourite Comedian: George Carlin Other hobbies: Guitar, drinking Car: 96 Civic Dx Occupation: Student at Assiniboine Community College, Enrolled in Communications Engineering Technology its going to be a pleasure to post with all of you again
  6. Hey guys, Its been a while since I've been on the forums and when i went to edit my profile (to update current info, change display pic etc.) it sent me to this page. Not too sure if its cause I've been inactive for so long but thought i would let ya know. Thanks
  7. malwarebytes anti malware.. google mbam-setup.exe for the download... amazing program
  8. That is entirely possible, i don't remember how me and my dad did it, we followed instructions from www.msiwind.net and another good site to help with hakintosh stuff is www.insanlymac.com
  9. They refer to us as the geek community, haha
  10. I use an msi wind u90x, it runs mac osx without a problem...
  11. I don't know why somebody would even wanna do this to Hak.5, they spend their time to give us knowledge and keep us entertained. I hope somebody catches this person. Thanks for getting everything up and running so quickly, and thanks for not keeping us in the dark. ~silent
  12. haha that was deadly! i liked it
  13. i work at the local mobile computer store, we charge $50/h minimum half hour charge, we don't charge for milage, free pickup and delivery, we either repair it at their house (if possible) but if not we take it back to the shop. Works pretty good..
  14. that is sick dude, u got some major skills
  15. i do pirate movies.. only because i know they make so much money from the box offices.. and besides... the actors already get paid for their work (i assume) aswell as the producers, its the company's that loose the money... but for music.. i try my best not to pirate it.. because the music industry is terrible.. and some of the bands i listen to don't have labels they make and sell thier cd's by themselves... so it is just wrong to pirate things like that... thats my take//
  16. i always do my soldering by an open window.. and have a fan blowing it outside... and ya soldering stuff is great..
  17. hey that worked, thanks now i have my wireless icon again... Yay
  18. hey that worked, thanks a bunch i now have conky, thanks agian
  19. Hey all again. I've been tying to install conky onto my laptop but somewhere i keep going wrong.. sudo apt-get install conky gedit ~/.conkyrc Then i paste this in background yes font Snap.se:size=8 xftfont Snap.se:size=8 use_xft yes xftalpha 0.1 update_interval 1.0 total_run_times 0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes draw_shades yes draw_outline no draw_borders no draw_graph_borders no minimum_size 206 5 maximum_width 206 default_color ffffff default_shade_color 000000 default_outline_color 000000 alignment top_right gap_x 6 gap_y 22 no_buffers yes cpu_avg_samples 2 override_utf8_locale no uppercase no # set to yes if you want all text to be in uppercase use_spacer no TEXT ${font LCD:style=Bold:pixelsize=56}${alignc}${time %H:%M:%S}${font Snap.se:size=8} ${font Aerial:style=Bold:pixelsize=12}SYSTEM${font Snap.se:size=8} ${hr 1 } Hostname: $alignr$nodename Kernel: $alignr$kernel Uptime: $alignr$uptime Processes: ${alignr}$processes ($running_processes running) Load: ${alignr}$loadavg Battery ${battery_time BAT0} ${alignr}(${battery BAT0}) ${battery_bar 4 BAT0} CPU ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%) ${cpubar 4 cpu1} ${cpugraph cccccc ffffff} RAM ${alignr}$mem / $memmax ($memperc%) ${membar 4} SWAP ${alignr}$swap / $swapmax ($swapperc%) ${swapbar 4} Highest CPU $alignr CPU% MEM% ${hr 1} ${top name 1}$alignr${top cpu 1}${top mem 1} ${top name 2}$alignr${top cpu 2}${top mem 2} ${top name 3}$alignr${top cpu 3}${top mem 3} Highest MEM $alignr CPU% MEM% ${hr 1} ${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1} ${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2} ${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3} ${font Aerial:style=Bold:pixelsize=12}FILESYSTEM ${font Snap.se:size=8}${hr 1} Root: ${alignr}${fs_free /} / ${fs_size /} ${fs_bar 4 /} Home: ${alignr}${fs_free /home} / ${fs_size /home} ${fs_bar 4 /home} Storage: ${alignr}${fs_free /media/hdc4} / ${fs_size /media/hdc4} ${fs_bar 4 /media/hdc4} ${font Aerial:style=Bold:pixelsize=12}NETWORK ${font Snap.se:size=8}${hr 1} Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s ${downspeedgraph eth0 25,107 cccccc ffffff} ${alignr}${upspeedgraph eth0 25,107 cccccc ffffff} Total ${totaldown eth0} ${alignr}Total ${totalup eth0} ${font Aerial:style=Bold:pixelsize=12}AUDACIOUS ${font Snap.se:size=8}(${audacious_status}) ${hr 1}${font Snap.se:size=8} ${audacious_title 100} ${audacious_bar 4} Current: $audacious_position / $audacious_length ${alignr}Track: $audacious_playlist_position / $audacious_playlist_length then i make a bash script gedit .conky_start.sh with this in it #!/bin/bash sleep 2 && conky; chmod a+x conky_start.sh then i go to system -> preferences -> startup applications -> add and have the command located in /home/silentknight329/.conky_start.sh i log back in and i have no conky, could someone please tell me where i'm going wrong? i got the tutorial from here thanks ~silent p.s i think this is my longest post ever...
  20. Hey all, so i was fiddling around with the look of my ubuntu 9.04 and i wanted to move the network manager icon from one panel to another, and instead of hitting move i hit remove from panel... so how do i get it back?? Thanks ~silent
  21. this is such a good program, i use it for when i load my linux distros and mac osx on to my wind
  22. has anyone here even tried norton 2009? its actually quite good, it detects and average users spyware and stuff.. like limewire songs that actually viruses... i personally use kaspersky... i like it alot..
  23. don't worry.. it was nothing special... she told us what to do and i did it... i just did what she told us to do to an extreme...
  24. uh, i tied with a kid for highest mark in 2d animations (flash) and the only reason he tied with me is cause he was in my group for everything.. 98% was my final mark... it was kinda cool..
  25. Just a picture of my buddies leg, its a good reminder to never dance drunk on a burning picnic table... Win7 RC1
  • Create New...