General C++ Programming - February 2012 (Page 4)

Trying to display integers and spaces.
 
I'm trying to write a program for class that displays the integers 1-9 so that it looks like this: ...
[13 replies] Last: I've got it now. Thanks for all the help! (by EricaFH)
by Spiker
GDAL
 
Hi everybody. For my program, I use the library, similar to GDAL. When the quick search is ge...
[no replies]
Reverse the output from a txt file
 
Write a C program to read the list from the file and store them in the arrays. Your program should...
[3 replies] Last: Sorry did not see C Oh still C , hehehehe -:) if it is a C than he ... (by therockon7throw)
Need help on reference parameter
 
Hi guys, I'm working on my second homework. It basically read in a text file of books list and dete...
[8 replies] Last: :) ok...that answered my question. nice explaination and very helpful.... (by ken2012)
by wwybj
How to put array data into vector
 
Hello all~ I'm now facing a question as the title: how to push array data into a vector container...
[4 replies] Last: Hi bluecoder and JLBorges, thank you very much for the suggestion~ I l... (by wwybj)
waiting for input
 
Hello out there! I'd really like to know how to say a program that it should output something if ...
[6 replies] Last: Anyway, Thanks for your help =) (by FlashDrive)
Why C++ fread is so different from Windows ReadFile
 
Greetings, I write a piece of code to simulate system I/O perf. However the result is so different ...
[2 replies] Last: C file streams opened with std::fopen() perform buffered reads and w... (by JLBorges)
defining neighbouring points
 
Hello, I am trying to analyse my data and therefore need to write a program to do the following...
[4 replies] Last: > I am a beginner, and it is quite difficult to read and be able to ap... (by JLBorges)
by Parker
Probability of 2 balls
 
I got two boxes each contains 1 white ball n 1 red ball...what is the probability of I'm getting 2 w...
[3 replies] Last: Sorry I don't get the connection of the obove with C++ here. This is... (by eypros)
by Eyad
Error: Expected declaration!!!
 
The Compiler keeps telling me an expected declaration for return 0; can someone help me please?! #...
[1 reply] : return 0; is outside your main function. Look at your braces.... (by Moschops)
by dalawh
Array + cin
 
Is there a way to store the string entered through cin and store it into an array of char that is ex...
[5 replies] Last: You can use a vector of strings. So your idea shown in your code s... (by vlad from moscow)
Help reading string from process memory
 
Hello everybody, I must say I am a bit new programming on c++. I usually develop my applications in ...
[3 replies] Last: Thanks you so much Galik. I didn't initialize my pointer, so now I' ve... (by Shalvaid)
by Aikon
Matrix class (1,2)
 
Hello everybody, I'm developing a Matrix class I need some criticisms. Only to the methods I have al...
[36 replies] Last: @therockon7throw By the way, I loved you example of meta-programming,... (by Aikon)
How to call a function to go to another/new screen?
 
For each function when chosen in the menu i need them to go to another screen, i tried system("cls")...
[3 replies] Last: 1) windows.h is not a lib, it is a header file. 2) You do not need to ... (by Cheraphy)
by rucafe
data base search
 
I have a database with hundreds of lines that looks something like this: 0.335634 0.014159 249.59...
[1 reply] : Should work. For the first example you should close the file before r... (by mik2718)
issues in designing a class of array objects
 
Here is what my program is supposed to do: Create an array and allow the user to enter values in ...
[5 replies] Last: when you create a new object of any class and provide no parameter ... (by therockon7throw)
by dalawh
Header files
 
When I was reading the tutorials, I notice I did not see one on header files. Is there a decent tuto...
[8 replies] Last: .h only, and compile the .cpp along with the main.cpp file. (by ciphermagi)
throw/catch recovery
 
I'm a C programmer getting up to speed on C++, so this is probably a very simplistic question. As...
[2 replies] Last: Assume a piece of code that detects something not quite right, so it ... (by kbw)
Replace single word with buffer
 
Hi, I was writing this Courier Service program for a friend #include <stdio.h> #include <...
[no replies]
February 2012 Pages: 123456... 43
  Archived months: [jan2012] [mar2012]

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