General C++ Programming (Page 9)

Trapezoidal method differential equation
 
Hello, I am working on a program to find the value of the current in a coil. This value satisfies t...
[2 replies] Last: A good explanation of what you want is at http://www.swarthmore.edu/Na... (by ats15)
I dont quite understand this Diagram
 
This Diagram: http://i40.tinypic.com/i57oz6.png I dont understand why Class Function Definitions, C...
[4 replies] Last: O ok, thanks :D (by Anmol444)
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 L B)
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)
by Numeri
Procedurally Generated Content
 
Hi! I've been learning about Procedurally Generated Content lately (in particular, Perlin noise). Pe...
[no replies]
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]
Pages: 1... 7891011... 79
  Archived months: [mar2013]

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