Beginners - March 2012 (Page 22)

Arrange of txt files under one condition
 
Hello, My name is Carlos and this is my problem I'm trying to read one txt file, and pick up the ...
[7 replies] Last: Basically what you are currently doing is: Read in a line. If the 47... (by cire)
by ctest
How to solve this problem
 
#include <iostream> using namespace std; int main () { double x, y ; cout<<"Please enter th...
[8 replies] Last: // ------------------------------ // This prog gets a DEPTH, and retur... (by Incis B)
srand troubles
 
#include <iostream.h> #include <windows.h> #include <time.h> int x, y, z, a, b, c; int ...
[13 replies] Last: So are void functions okay for the others? it's only main that returns... (by NerdTastic)
conversion char to long long from record
 
Hi experts, need your help, i have problem with retrieve the data from record, here the code : ...
[4 replies] Last: thank you for correct sir, im still learn in C btw Thank you for a... (by ranuchi)
how good is your C++? (1,2)
 
how good is your C++? Plus how could you rate yourself. I'm currently at the state where I've reali...
[24 replies] Last: Sometimes the Report button gets accidentally pressed instead of Re... (by cnoeval)
Making a Zombie C++ game SDL
 
Making a simple 2d birds eye view zombie survival, I am woundering how to make a simple timer to use...
[2 replies] Last: I'm in a similar position to you Schadek, learning c++/SDL stuff. As f... (by Shifty89)
by dadu
network programming
 
I'm a beginner in C programming and I want to start the c++ I would like someone who may help me to...
[1 reply] : Beej's Guide is good. http://beej.us/guide/bgnet/ (by Moschops)
URGENT!!!
 
can someone help me. plissss.. #include <stdlib.h> float celsius_at_depth (int d, float c); flo...
[7 replies] Last: No I don't have skype or facebook. (by Peter87)
for, while loops and switch statement
 
#include <iostream> using namespace std; int main () { const int NR_VOTING_STATIONS = 4; ...
[2 replies] Last: Thanx for the tips, it just I don't know how to end my while loop, cau... (by Stephie22)
program not working please help.
 
if its not to much to ask ive been learning C, and C++ for a while and im not used to the OOP anyway...
[4 replies] Last: kay thanks I think I got it, i'll figure out here on out (don't you ha... (by TheRocketRocketMan)
How do i tell the complier what to do in a certain case of exception.
 
I would like you guys, if you reply, not to tell me the answer directly just like that. Make it tric...
[3 replies] Last: This may also help: http://cplusplus.com/forum/beginner/65220/ http://... (by Stewbond)
Recursion program (1,2)
 
Hello, All! I am trying to make this program work and have hit a dead end. The assignment is to wr...
[26 replies] Last: In this two examples firs example may by a little faster if you have s... (by Shinigami)
by findme
input text from one file to another file question
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main() ...
[2 replies] Last: for(int i = 0; i < 3; i++){ std::getline(wormfie, wormline); dtfile <... (by ui uiho)
by cdf
dyinamic allocation of class inside class
 
I need to allocate memory for objects inside another object. The child would be a private member of ...
[4 replies] Last: No... if I just try for i=1 i still get the seg fault (by cdf)
Weird Array problem?
 
I was experimenting with arrays and I stumbled upon a weird situation. My program stops running when...
[5 replies] Last: If you want to give a variable x for the array length(what you have tr... (by Cman87)
Access violation for arrays in Game of Life
 
So I'm trying to do Conway's Game of Life, but I'm running into errors while running it- it comes up...
[4 replies] Last: http://www.youtube.com/watch?v=a9xAKttWgP4 just saying, (by Incis B)
Using try catch
 
I am trying to make a try catch where if a user enters a char into an int it catches it and returns ...
[1 reply] : You need to set the exception bits. #include <iostream> using names... (by Duthomhas)
by findme
program only reads first word
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main() ...
[6 replies] Last: Don't loop on EOF. [code firstline=13] while (getline(wormfile,worm... (by Duthomhas)
Inverse pyramid
 
I can't figure out how to make the pyramid only showing its outline --------* ------*--* ----*-----...
[1 reply] : You can start by having a variable storing the length of the base of t... (by Krahl)
by y4n
Determining price via column and row number.
 
Hi friends, I just want to know how to make the variable 'price' deleted after its last run. I have ...
[6 replies] Last: @CJC0117 :-D Thanks for your clear explanation! I've corrected it by... (by y4n)
March 2012 Pages: 1... 2021222324... 71
  Archived months: [feb2012] [apr2012]

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