Beginners - May 2011 (Page 35)

by ammama
Findfirstfile
 
Hello. I'm trying to understand the working of findfirstfile and findnextfile. But, I'm unable to ...
[1 reply] : If you want a reference, see msdn. If you want an example, here's one... (by hamsterman)
by mwmnj
Matrix operator overloading program question
 
How would I copy an array that is made in a constructor into external arrays outside of the class an...
[1 reply] : Use proper indentation. if (0 > rangeIn && rangeIn > 20) This wil... (by hamsterman)
Trouble with if/else using strings
 
Hi, first post here. I'm a relative noobie when it comes to c++ but I've been learning for a few mon...
[1 reply] : bm == "Left" || "left" should be bm == "Left" || bm == "left" (sam... (by hamsterman)
how would i randomize a string
 
int junbleString (string str) { int length = str.length(); for(int i = 0; i < length; i++) ...
[2 replies] Last: this question seems to come up on a daily basis - maybe someone should... (by kfmfe04)
what am i doing wrong
 
void jumbleString (string str) { int length = str.length(); int j, k; for(int i = 0; ...
[2 replies] Last: i wanted to create a function where i would enter a string and it woul... (by pkee123)
static objects
 
Why do we need static objects. I have never used but was wondering if there is any scenarios where w...
[6 replies] Last: Thanks! I kind of assumed that because namespaces weren't part of C bu... (by ModShop)
Help with this problem regarding loopings
 
Make a program that willl generate n number of items of this sequence given the value of n from keyb...
[1 reply] : what code have you written so far? this seems pretty straightforward,... (by ascii)
brief const question
 
Hey, could someone give me a brief explanation of what exactly const protects here? class Bacon ...
[3 replies] Last: By specifying a member function as const, you are essentially promisin... (by Branflakes91093)
Text Based Calculator Help
 
Hello, Ive been working on this basic text based calculator as a exercise and ive run into a couple ...
[3 replies] Last: i made one like this a few weeks back if you need some help, or want m... (by ascii)
Help with simple BMI calc
 
Hello, I am very new to c++ i started a couple days ago, today I tried to make a BMI calculator and ...
[5 replies] Last: theres no need for the variable to be short. once again, i reccommend... (by ascii)
hello there im new here, and im planning to create an exe compiler, can you tell me how to...
 
hello there im new here, and im planning to create an exe compiler, can you tell me how to... this i...
[11 replies] Last: Does that have the tutorial on making an exe compiler in it? The... (by king214)
What did I do wrong?
 
my compiler is bloodshed c++. I keep getting this error on my program. I want to know how can I fi...
[3 replies] Last: Which mistake did you make? Have you actually written code for the fun... (by Moschops)
by firix
text processing.
 
Hi, I want to write an''ideal''class for general text processing. What it has facilities should ...
[10 replies] Last: stereoMatching: If you insist to do it by C++, you could consider ... (by firix)
by kjata
Problem with inputing data into arrays and displaying
 
Hello, I'm new to learning C++ and was doing well until we hit Arrays. My homework is to retrieve d...
[no replies]
need guidance on how to finish program
 
Instructions: --For each day, tell which balloon (identify it by time released) traveled the greates...
[no replies]
need help with switch
 
What im trying to make is a Compound/Simple Interest Calculator and i want the user to be able to ch...
[3 replies] Last: cplusplus.com helps those who help themselves, to steal a quote from s... (by closed account 3hM2Nwbp)
Need to read paycode from txt file then display salary
 
I am trying to write C++ code to get the salary amount associated with the payCode. The #include 's...
[no replies]
Behind the scenes of passing pointers as parameters
 
I've recently used this kind of notation to state that the function takes a pointer as a parameter. ...
[4 replies] Last: T& is is just T*const with nicer syntax. (by hamsterman)
Header file library
 
Can anyone please give me a site where I can download a set of common C++ header files. I tried usin...
[1 reply] : http://www.boost.org/ (by closed account 3hM2Nwbp)
No matching function for template function
 
I am trying to make a template function to calculate the median of a vector, but this: template ...
[no replies]
May 2011 Pages: 1... 3334353637... 48
  Archived months: [apr2011] [jun2011]

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