General C++ Programming (Page 8)

School project
Me and my friend is going to make an examination project in programming 1 (c++). So we decided to ma...
[1 reply] : Standard C/C++ doesn't provide enough functionality for this. So you h... (by coder777)
blatant missing entry for std::string::operator==, please fix
On, somehow, I could not find the documentation entry for std::string::ope...
[2 replies] Last: Aren't all the comparison operators just wrapped versions of the strin... (by Gaminic)
clock() timing inconsistencies
I'm running some timing experiments on several algorithms. In short, it reads data, performs an init...
[1 reply] : After a few more tests, it seems it's not the value of K that changes ... (by Gaminic)
Problem with Ackermann-Funktion
Hey guys, my program is stuck in the endless loop, and i can't seem to find a problem. It works for ...
[6 replies] Last: What do you mean MikeyBoy ? You mean that it should ask a user to re... (by whyunomad)
by jem19
Snippet (for loop, while loop, do while loop)
How can I make a program using this instruction? Snippet for : a program that prints ...
[1 reply] : Check for an introducti... (by Gaminic)
I am at a loss as to why this doesn't work
Yes, this is an assignment for school. I have been working on this for a couple weeks now and I hav...
[6 replies] Last: Thank you very much for the reference material link. I was able to us... (by ChrisMoore2)
Need to insert a loop to the main menu!
I need help inserting a loop that will take me back to the main menu within each option. I also need...
[no replies]
C++ Madlib Project
I have worked on this code for awhile now and it seems to be alright, however I am having a problem ...
[4 replies] Last: just for my curiosity's sake, what's in the file that is trying to be ... (by jasonwynn10)
Strings and what they mean
I need help in understanding like these types of strings and what they do. strlen() gets() fget...
[1 reply] : really -_- two accounts and two posts?! (by jasonwynn10)
Strings and What they mean
I need help in understanding like these types of strings and what they do. strlen() gets() fget...
[1 reply] : really -_- two accounts and two posts?! (by jasonwynn10)
Binary File Input
I am writing a program that will input customer information. I built a function setCustomer() that w...
[1 reply] : getline only works for reading strings of characters. total is an arra... (by Peter87)
Coding a Game, Need Some Help
So I programmed this game on TI Basic and I wanted to be able to transfer it over to C++. I am not s...
[5 replies] Last: Alright, thank you. I feel kind of stupid, but I guess it makes sense.... (by hippopocalypse)
Reading list from input file,place in array, print the index of the name
Need some direction on this one if anyone can help me out. Write a C++ program that reads the in...
[3 replies] Last: OK then you are ready to go. Just declare an array like this: #de... (by Thomas1965)
[2 replies] Last: Also, on BINGO cards: The 'B' column only has number 1 - 15, The... (by doug4)
by Mr T
Reading values out of the Windows Registry
Anybody know how to write a C++ program that reads values from the windows registry? Specifically en...
[5 replies] Last: > Does that mean that calls like GetEnvironmentVariable are effectivel... (by JLBorges)
2 doubles
Hi, I have 361 two double integers stored as a list in a .txt file. When i run the programme the fir...
[3 replies] Last: First of all, variables of type double are real number (with decimal... (by doug4)
by bsc123
breaking out of loop during void
so I have a void that I am putting in a loop. Part of that void has a break to break out of the loop...
[2 replies] Last: so I have a void that I am putting in a loop. What do you mean by th... (by doug4)
I keep getting these two errors- -40: error: a function-definition is not allowed here before '{' t...
[2 replies] Last: These are the syntax errors I get: #include <iostream> using names... (by Thomas1965)
by kalki
How to solve memory leak problem? By new and delete operator
I have two classes. B *ss=new B; class A: { /*Functions prototype*/ Function1(); Function2(); ...
[10 replies] Last: I made some modification to code. Oh, well that makes everything so ... (by MikeyBoy)
Adding Arguments to my program
Hello everyone I am new to c++ programming and I wrote a program in VS 2015 that asks the user for a...
[3 replies] Last: At the point where you want to check whether a filename has been speci... (by MikeyBoy)
Pages: 1... 678910... 27
  Archived months: [oct2015]

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