General C++ Programming - May 2013 (Page 29)

Adding the results of an incremented value
 
The point of this program is to calculate how many cents the user would have after a certain number ...
[9 replies] Last: You're welcome! (by Rehan FASTian)
Vecotr Manipulation
 
I have a vector of 57 items from an inventory for a grocery store. I ask the user to input a number ...
[no replies]
Classes, STL
 
Questions about Classes and STL.
[7 replies] Last: Comment on a completely unrelated subject that derails the thread perm... (by LB)
program not counting properly
 
Someone please help me fix this!! I would greatly appreciate it. I tested my count funtion. So my co...
[9 replies] Last: Yes, I have string w in struct. (by Stephaniei492)
by yollo
need help to save a matrix and be able to reopen it
 
Hello :) I have this simple code: #include<stdio.h> int main(void) { int mat ,i,j; pr...
[2 replies] Last: well yes Chris, I'v tried, but I just don't know how to save the actua... (by yollo)
Keeping track of numbers inside an array
 
okay well this program basically infiles grades and then find the highest, lowest and average. Then ...
[4 replies] Last: Thank you so much! This definitely helped and I finally got it to work... (by Adrianooo14)
One loop in the link list is having some logical problem
 
At line 148: for (p = head; (strcmp(p->color,color)) != 0 && (p!=NULL); p = p->link); My program...
[no replies]
by ostar2
Creating a new directory
 
How do you create a new directory in C++? I would like to do this using the standard library and no ...
[7 replies] Last: ASIDE Personally I would not bother with trying to track down dirent.... (by andywestken)
Difference between char r[] = "red"; and char *q = "Quit";
 
#include <iostream> using namespace std; int main(){ char r = "red"; char *q = "Quit"; i...
[9 replies] Last: If you declare a local array variable it will always be allocated on t... (by andywestken)
Incomplete code that I am attempting to fix
 
I'm having a hard time writing the body of the bolded functions. Any help would be great. #inclu...
[3 replies] Last: findIt looks good to me given the way it is called. In randomizeIt... (by cire)
by anpep
Weird error during linkage
 
Hello, world! I'm writing an C kernel and I just implemented the fantabulous printf() function. B...
[no replies]
Need help with do-while/validation
 
I am having problems at the end of the program with the do-while loop to restart the program and the...
[3 replies] Last: #include <iostream> #include <string> #include <iomanip> #include <cs... (by Chriscpp)
by tulips
Need help
 
Can someone help me with a c++ program that reads in a sequence of binary digits (values 0 and 1) an...
[6 replies] Last: Croco and Bourngond- thanks for the reply. i did run the program but ... (by tulips)
by FWZ
prime number generator
 
i wrote a progam that generates prime numbers up to a certrain number with certain amount of iterati...
[6 replies] Last: whats the purpose of the num variable? im a bit confused with its purp... (by Irishfitz)
Books - Perspective Projection
 
I am working on a very simple program to display and manipulate 3d objects in a virtual 3d environme...
[no replies]
Where is it going wrong: Next Permutation Logical Error
 
I wrote this code to solve a problem in which the user inputs a permutation of size 'N' and the nex...
[2 replies] Last: #include <iostream> // correction. int main() // correction { ... (by cire)
VGA emulation, text mode not working?
 
I've made a script to emulate a VGA (rendered line-by-line, Port&Memory I/O handled by functions), b...
[no replies]
Close to breakthough
 
I can't get the bubblesort template function to work. Header #ifndef _MYFLOAT_H #define _MYFLOAT_H...
[1 reply] : I believe it has something to do with the fact that you had declared a... (by Smac89)
Building SFML for Code::Blocks (1,2)
 
Disch has posted a wonderful explanation on how to set up SFML here: http://cplusplus.com/forum/be...
[23 replies] Last: This is really, really weird: C:\SFML-2.0\projects>make clean The sys... (by Vidminas)
N-Bod Simulation Program
 
Hi all, I am a first year student studying computer science and over my summer break I really wan...
[no replies]
May 2013 Pages: 1... 2728293031... 47
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.