Beginners - April 2012 (Page 41)

Random number generator function issue?
 
This is the program I have for a random number generator. somehow, it does not work and the consol...
[2 replies] Last: thanks it worked :) (by cpplover)
Saving in a program?
 
Im a beginner programmer and I have written a really simple program as practice. In the program it a...
[4 replies] Last: Thanks for the info guys! Im gonna get on that today! (by JarydC33)
a question regarding using for looop to read data
 
it's me programmer-x, new to Cplusplus.com and also new to c++..... how i can read data containin...
[3 replies] Last: well thats good but dont introdice yourself or say: Its me, (your nam... (by shaggy)
by takzee
cout space in string .
 
Hello , This is my code #include <iostream> #include <string> #include <cctype> using na...
[3 replies] Last: else if (isspace (word.at(n))) word2.append(" "); I added this ... (by takzee)
Universal OS screen clear?
 
Is there a universal OS screen clear function? To my understanding system("cls") is for windows, ...
[8 replies] Last: Thank you Duoas! (by gmenfan83)
Vectors problem.
 
Hi, I am going through the new stroustrup book , Programming: Principles and Practice using c++....
[4 replies] Last: The problem is that after cin >> s; the new line character stays in t... (by darkcow)
by Whaler
Could someone explain fstream to me?
 
I struggle with fstream in general, but at the time being I don't understand how to use a reference ...
[1 reply] : Make sure you have ofstream as a reference in the prototypes as you do... (by vin)
Help
 
ok so I am being asked to "Write a class called decimalHexOctalBinary that has four properties mai...
[no replies]
by Yume
Matrix of chars
 
I have a problem who reads a matrix with nxm elements of strings and have to display the string whic...
[4 replies] Last: Thank you guys! I found the mistake now! (by Yume)
by manp
converting frm string to char and using pointer
 
Hi, I am writing a code that in the middle I have a problem in converting a string to char. I need ...
[no replies]
Need help on operator += .
 
Problem Fixed.
[2 replies] Last: It's ok I fixed it. It only took one line of code. (by Subzero030201)
Help with logic, array, chars
 
I am trying to create two functions, E_function and D_function. The two functions will be compared t...
[3 replies] Last: Well, first things first: fin.ignore(100,'\n'); fin.get(ch); while ... (by cire)
by arooj
Writing sequential access files using fixed point notation
 
I was wondering how to write a sequential access text file using fixed point notation to 2 decimal p...
[no replies]
Runtime-accessable databases
 
Hello, all. Second topic on cplusplus.com. Woot! I would like to know what types of databases one...
[no replies]
how to wrap text into a 2D array
 
Hello, I'm having a couple problems working with 2d arrays. My array is of size 5 rows and 5 col...
[1 reply] : hi HPexpress [quote=HPexpress] fin.get(ch); while (ch != '\n') { fi... (by altbdoor)
Help with pointers to classes and Dynamic Memory
 
I am trying to make a short program that tells you how much money you have when you enter a number o...
[2 replies] Last: Wow, thanks. I didn't know you couldn't pass parameters to a construct... (by Halfbreed)
too few arguments to function `void loa::drawMap(int)'
 
void drawMap(int a) { What's wrong? I get the error too few arguments to function `void ...
[1 reply] : The problem is when you call at that function. The message should have... (by ne555)
Understanding [un]desirable functioning of my program.
 
I have been working on a small home project just to increase my skill as a c++ programmer. This proj...
[10 replies] Last: It would like silly if you were asked to enter a number and you entere... (by LB)
Visual Studio crashing help!!!!!!!!
 
#include <stdio.h> #include <stdlib.h> typedef struct { int x,y; }T_position; void...
[2 replies] Last: Thanks! (by providence)
reverse
 
I keep getting no output for my string reverse #include <iostream> #include <cstring> using na...
[2 replies] Last: I kept trying it, but then when i reread it I noticed the hello backwa... (by kdmpenguin)
April 2012 Pages: 1... 3940414243... 66
  Archived months: [mar2012] [may2012]

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