Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › SumComp in C - what does it do?
New Posts  All Forums:Forum Nav:

SumComp in C - what does it do?

post #1 of 6
Thread Starter 
I got a homework assignment from a teacher and he used the function "sumcomp". I figured out what the program does, compiled it, and it works fine. The thing is that I want to know what the function actually does by itself and how to use it. Anyone know? If you want the program ask for it.
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
post #2 of 6
Takes two integer lists and returns true if the sum of the Integers in the first list is no greater then the sum of the integers in the second list. Otherwise false, of course.
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
post #3 of 6
Thread Starter 
great thanks. any advice on how to use it? and also, why cant i find it in google? is it just not used anymore or something?
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
post #4 of 6
Quote:
Originally Posted by gobalr View Post
great thanks. any advice on how to use it? and also, why cant i find it in google? is it just not used anymore or something?
<Prepare for a fight to break out over this post.>

I found it in Yahoo! search as i do everything else. The search engine is far more powerful then Google despite what people think. Your answer was the 1st link provided by Yahoo! search. I highly recommend it for anytime your looking for something because it simply gets the job done.
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
post #5 of 6
Thread Starter 
great, i usually use google just cause of the fast load times and what i thought were the best searches, but i guess im gonna start using yahoo! now. thanks
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
Gobalr
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E7400 @ 3.5 Gigabyte GA-P35-DS3L Rev. 2.0 MSI 8600 GT Silent Edition (720/967/1754) 4GB G.Skill DDR2 1066 
Hard DriveOptical DriveOSMonitor
250GB Samsung & 80GB Maxtor Samsung DVD-RW & Pioneer CD-RW Windows 7 22w HP & 17w Viewsonic 
KeyboardPowerCaseMouse
Genius KB600 400W Acteck Rosewill R5717-P SL Genius KB600 
Mouse Pad
None 
  hide details  
Reply
post #6 of 6
Quote:
Originally Posted by gobalr View Post
great, i usually use google just cause of the fast load times and what i thought were the best searches, but i guess im gonna start using yahoo! now. thanks
Google does indeed load allot faster.
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
Lee XT
(17 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6300 Asus M5A97 SAPPHIRE Radeon HD 7850 AMD 4GB DDR3 1333MHZ 
RAMRAMRAMHard Drive
AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ AMD 4GB DDR3 1333MHZ OCZ Vertex 4 256GB 
CoolingOSMonitorKeyboard
Corsair H80 Windows 8.1 Pro MCE Dell P2414H WHXV7  Microsoft Generic 
PowerCaseMouseMouse Pad
Ultra 600W Limited Edition NZXT Black Steel Razer Deathadder Razer Goliath 
Audio
Realtek HD Audio 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › SumComp in C - what does it do?