General C++ Programming (Page 50)

Using Quad-Dual core cpus?
whats the easiest way of speeding my program by using more than a single core?!
[9 replies] Last: thanks all :) Krisando , that looks awesome, now that's enough for mos... (by kam hagh)
Turbo C++ Basic Loop Statement Errors & Warning
hey guys, i got an errors and 1 warning, how could i correct my codes, i need your help thanks, i am...
[2 replies] Last: can i used Dev C++ sir? anyway let me try the guide you suggest sir... (by Expelunker)
Card Game War
I have spent way too much time trying to get my first assignment correct for my C++ programming clas...
[6 replies] Last: Thanks for the pointers on this Yay295 and JLBorges. I made sure I fi... (by zachariah535)
Find the errors in this programming...
#include<iostream.h> #include<conio.h> class add { int num1,num2,sum; public: add() { cout<<...
[6 replies] Last: Your code: add add::addition() { add a(5,6); sum = num1 + num2 + ... (by keskiverto)
help file handling
I'm abhishek, I'm new here! I'm writing a programme for writing data to the file. This is my code:...
[3 replies] Last: Thank you, sir. I tried to run it mannualy and it worked. (by janjalkar)
Hello Everyone ! Can anyone help me with my program? When I assign a value to rate throught the func...
[1 reply] : You never set the value of itemno. (by Yay295)
by judo11
How to trap using while loop.
If the item to be entered is smaller (in value) compared to the last item, the input will be disrega...
[1 reply] : I don't see a queue. Though while(num/10000<=0||num/10000>=10) can ... (by Yay295)
Newbie need help!
What kind of code should i use for sorting numbers in both ascending and descending order? I don't k...
[3 replies] Last: Thanks! i think i can learn a lot from these. (by vampirenelf)
i need help with c++
i have two project for my college class and i need help with the code and need to know what to do if...
[3 replies] Last: The user is only entering one number - you don't need 26 different var... (by wildblue)
by JScpp
Is this the best way to do this?
I plan to use a (not std) linked list in a 3d game to list game object entities. The way this would ...
[1 reply] : No, I think it's safe to say that you should never used a linked lis... (by Avilius)
c++ help
i have two project for my college class and i need help with the code and need to know what to do if...
[no replies]
by Fringe
Total sum of arrays
I have two user defined arrays and am trying to sum all of their elements together. Here is the func...
[2 replies] Last: Array indecies start at zero, so your for loop condition should look l... (by Lowest0ne)
C++ cout not displayed after while loop
Am having a problem with the following program not displaying the cout after the while loop, it does...
[1 reply] : Remove the stray semi-colon at the end of the while statement. Aceix. (by Aceix)
Draw the same sprite multiple times (SDL)?
Hello! I have a question about SDL and drawing sprites (SDL surfaces). My idea is that the user can...
[3 replies] Last: You have to change the dst_rect parameter, obviously. (by helios)
by Fringe
User defined arrays
I'm trying to write a C++ program that reads user values into two arrays, the user however first ent...
[2 replies] Last: Thanks. Yeah the answer, 'values', was right in front of me. Program r... (by Fringe)
data / picture manipulation
I have black and white picture which looks something like that. 0000000 0111111 0011111 0001111 00...
[2 replies] Last: How would you check around it, It seem stupid to have 10 if - statemen... (by DrJones)
reading a .pgm file
Hello eveyone, I want to know how to read a .pgm file from my hdd and store it in a 2d array s...
[3 replies] Last: r u chinese? (by csstudent123)
Binary file and structs
Hello. What is the difference between reading from binary file between the following way: stru...
[2 replies] Last: pls explain which ones? I used the second one in a code and it is work... (by csstudent123)
Discussion: Global vs Local Variables with the Same Name
I have what I think is an interesting question. What would be the ouput of the following code? gl...
[1 reply] : Do all C++ compilers allow this code? Do you mean in actuality or in ... (by helios)
C++ Input from txt file size problem
Hello guys. I finally accomplished what I'd asked for earlier. I'm able to input data from txt...
[2 replies] Last: Use a std::vector or std::decque instead of an array allocated on ... (by cire)
Pages: 1... 4849505152... 56
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.