General C++ Programming (Page 49)

Moving C++ File Pointer, internal mechanism?
 
Hello, I have a simple question on how a pointer to a location within a file (or even memory) is mo...
[4 replies] Last: An easy way to see the delay is to consider the rotational latency. O... (by dhayden)
Templated classes and argument/return type
 
I am starting to experiment with templates, having accepted the messy inconvenience of having to bot...
[7 replies] Last: Does this tie in with 'Runtime Type Information'? Nope. Everything r... (by MiiNiPaa)
can't find whats wrong with my program
 
so this is my program if i insert 150 after i run im expecting to get this 1 0 0 1 but im getting...
[1 reply] : The problem is here: else { cout << " 0" ; l=i ; //<-This line here ... (by Computergeek01)
variable in a while loop
 
I would like to have the user type in a word and each letter corresponds to a number, then when the ...
[4 replies] Last: Thanks for the input. I needed to use an int array since I want the le... (by ted1941williams)
Decision Statements and Repetition Statements
 
I need help with this, please help me. Write a program that requests the user to enter coordinates...
[no replies]
Android development in C++
 
I want to start developing Android apps in C++, but I do not know what I could use to compile the so...
[4 replies] Last: If I have to, I will do it, but I prefer to use C++ then learn anoth... (by mutexe)
Segmentation fault while setting classes local variables
 
Hi, When I set a local variable to a value it causes a segmentation fault. This happens in the Gam...
[6 replies] Last: Oh damn what a simple mistake can't believe I missed that Thanks for ... (by danielmccarthy)
VirtualQueryEx and ReadProcessMemory - Why this code works so slow ?
 
Hello I would greatly appreciate any help regarding this. This code works fine but it takes about 10...
[5 replies] Last: Can you post the complete code? (by gsoc)
Direct Access Files
 
I am extremely new to C++ (and programming in general really) and am working on a project that has m...
[2 replies] Last: Sorry, I'm just desperate. I deleted the post from the Beginners forum... (by HiTechRedneck3)
Mastermind Program
 
I need a program that has the user play the game "Mastermind" the only thing is it can only include ...
[2 replies] Last: I can't figure out how to make this a loop (by John Colquitt)
by Noori
sorting
 
How to sort and array with integers in c++/ LETS SAY int arr ={1,2,3,4,5};
[2 replies] Last: Easiest way to sort something in C++ is to use std::sort. #include <... (by Peter87)
Arrays and Vectors
 
Hello everyone, I was having a little bit of trouble with my program. The purpose of the program is ...
[6 replies] Last: try to do it int readArray(int MAX_SCORE, int score ) { int nsc... (by alptp)
a little addition missing in my program
 
the question was find a number that:(y is the number) y%2=1 y%3=1 y%4=1 y%5=1 y%6=1 y%7=0 ...
[no replies]
by rian
C++ program capturing information after crash
 
Hi, I am writing a C++ program that does various sequential stand alone tasks for a certain event...
[4 replies] Last: Check this out: http://www.cplusplus.com/reference/csignal/signal/ htt... (by MiiNiPaa)
by Myna
How to improve my geometry calculator in the following ways?
 
‚óŹ When the user enters wrong input for radius, length, width, base, or height, the program will c...
[1 reply] : Before the cout << "Geometry Calculator\n"; do: for(bool retry = fa... (by poteto)
c type string
 
Write a program that will allow the user to input a string and perform various editing functions ...
[4 replies] Last: Make each action (insert, delete, replace, search, etc.) a function. ... (by dhayden)
by Emkor
Quick help
 
int Menu() { int choice; cout << "\nSurface Area Calculator" << endl << endl << "S) Sph...
[1 reply] : A nice trick is to search for the choice in the string "QSC". YOu can ... (by dhayden)
Reformatting the String Entered to Odd then Even
 
My c++ teacher gave me this question. Question: Given a line of words (total character number is les...
[no replies]
Pure virtual function call before program even begins...
 
I recently made some big changes to the class structure in my program because I ran into a compatibi...
[15 replies] Last: What about the destructor? I can't call a pure virtual function from ... (by Disch)
Searching for substrings in string
 
Hi All, I'm given a school assignment and we have only covered on C language in school. For thi...
[no replies]
Pages: 1... 4748495051... 67
  Archived months: [sep2014]

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