Beginners - May 2011 (Page 14)

acess base class member
 
Hi I have one class which looks like following way. can anyone suggest me how can I change base class data member through derived class object(Not creating ba...
[2 replies] Last: hmm (by agoswami)
Converting a fraction into other numeral system
 
Hi there, I get a fraction in decimal and my job is to convert it into other numeral system (< 10). Can you give me a clue how can I do this ?
[7 replies] Last: That's for you to decide. If you want to find the period of the fract... (by hamsterman)
by chipp
weird behaviour
 
i have a just-kidding program :D like this: #include <iostream> #include <conio.h> using namespace std; int reverse() { char word; int quit = 1; ...
[3 replies] Last: Well one problem here is that your using getch and cin together. T... (by Mathhead200)
by mdk85
Urgent how to add value into an object
 
guys i am working on a shopping program , the user data such as id and password are given which is declared in main function and when the user enters his id and...
[4 replies] Last: thats the program i am working on the input and validity function are... (by mdk85)
by vypr11
Character replacement
 
I have 2 arrays const char* chars1 = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", ...
[14 replies] Last: http://cplusplus.com/reference/string/string/find You call the func... (by Mathhead200)
Simple password program with fstream
 
Im sort of newish I guess, I know basically what im doing, but this is one of my first projects with fstream.Im trying to make a program that writes a password ...
[6 replies] Last: Hi... I hope this help.... #include <iostream> #include <fstream> u... (by r0uruni)
Why is sfml slowing down my computer tremendously?
 
I'm using sfml and when I run a simple application it uses tremendous amount of resources. Is this because it has no limit to the amount of resources it tak...
[3 replies] Last: You're not limiting your frame rate anywhere, so it's going as fast as... (by Athar)
by WayneC
Putting a Function return into array
 
I'm stuck on a simple thing. I have a function that outputs an integer. I need to put that output in an array. Will this work? sum = funcSum(); I wan...
[2 replies] Last: It was all over the pages of my textbook, in the examples, everywhere.... (by WayneC)
by ty98
I need help with this program (1,2)
 
I need to know how to use a program the I made in the program that I wrote. Do you have any ideas?
[21 replies] Last: Here is the example from MSDN: http://msdn.microsoft.com/en-us/library... (by Computergeek01)
Beginner's Lesson in C++ (1,2)
 
Hi I'm Twelve and need to learn C++, please help!
[28 replies] Last: In regards to actually having helped bobtheturtle ; they didn't ask a... (by Computergeek01)
What is "L" in C++
 
Like we place L"string" in some cases What type of token is this L?
[6 replies] Last: Ah, that makes sense. Thanks :) (by anonymous23323124)
by kthouz
read integer from txt file
 
Dear all, I am learning C++ and I got a problem on reading int numbers from a file. I wrote codes that can read data as char from a file. But when I try to con...
[1 reply] : I think line 11 might be an issue. I've never seen an array defined li... (by closed account zb0S216C)
Installing Visual Studio 2010
 
I have installed initially on my laptop Visual Studio 2010 Express with SQL Server 2008 R2, I then installed the same product on my home computer but I have not...
[1 reply] : Go to Tools -> Settings -> Expert Settings. I think this is what you w... (by anonymous23323124)
by aleag
Error in compiling (E336)
 
Hello! I got an error while compiling this simple program with a single array on it. ------------------------------------------------------------------------...
[3 replies] Last: No, it isn't. Post the new code. (by Athar)
by Ali89
Problems with accessing to protected member
 
Hello, I have declared a vector of objects. The class which I have declared a vector of it's objects has a protected data member. I need to access that prote...
[6 replies] Last: Thank you very much :-). (by Ali89)
collections
 
So i am writing a program that needs to use a single record in the parameter list for the printStudent subprogram instead of the whole collection using a loop i...
[1 reply] : Change cin >> name; to getline(cin, name);. Also, remove the cin.ignor... (by hamsterman)
by ty98
picter
 
I need to know how to use a picter. Like one of its resaources. And display it without a window. Do you have eny ideas?
[14 replies] Last: And whichever OS you use, the SFML code will work without any changes,... (by anonymous23323124)
VS 2008 error C2059 and C2238
 
I'm trying to port a C++/openGL/SDL/Boost project that was developed on linux to windows 7 with VS 2008.  I've solved a lot of compile error and various other...
[4 replies] Last: That's weird. I took your code, wrote the necessary declarations/defin... (by hamsterman)
how to put fgets into an array??
 
Hey guys i'm really new to programming so it'll be great if you guys can explain it as simple as you could. so my problem is im trying to put a pair of input...
[4 replies] Last: i dont think i have an example file but i'll try to explain the logic ... (by IcantProgram)
two-dimensional array of pointers
 
So, I use the following code to create a two dimensional array of pointers with a specified height and width and then to read values from a file. int** firs...
[4 replies] Last: cout << *&firstGrid ; where you get this idea? i say, it won't ... (by chipp)
May 2011 Pages: 1... 1213141516... 48
  Archived months: [apr2011] [jun2011]

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