Beginners - June 2011 (Page 41)

Object Composition
 
I am wondering if someone could display a very simple example of using references vs. pointers for o...
[2 replies] Last: Thank you, I see now. *this is the self reference, as where this ... (by johnnystarr)
by tonnot
Is it possible to assign a buffer to a stringbuf - stringstream? It would be worthwhile ?
 
How can I assing a buffer to a stringbuf - stringstream ? ( What are the difference betwen them ? I...
[no replies]
by sebgar
What's the difference between 'console', 'smfl,... ??
 
I've seen these terms in a few posts but i couldn't find anything on the tutorial. I am new to c++, ...
[1 reply] : The following is very general and probably arguable in many aspects; n... (by Moschops)
Help
 
I'm trying to build something that will read certain bits of a text file so far i've come up with th...
[1 reply] : Please use the code format tags around your code. i only want certai... (by kbw)
by mdk85
long and short format date
 
how to write long format date ( 31 may 2011) in one screen in next screen the date should appear as ...
[4 replies] Last: can i write this program without using strftime / ctime in C++ ? (by mdk85)
by Wanher
Graphics Linker
 
Hey! Friends In my PC the c++ software is creating a problem named Linker error the program wr...
[4 replies] Last: ok...:P (by Wanher)
Dynamic Memory??
 
Hi, I was hoping if someone could explain this to me. When is dynamic memory suppose to be use? When...
[2 replies] Last: When you use the new keyword, a block of memory is allocated from... (by closed account zb0S216C)
A quick Question about CSV
 
Hello C++ Forum, I hoping someone can give me an answer to a quick question. I have a CSV text...
[2 replies] Last: Thank you Anthar, I've been given one month of data and in that month... (by RobertsR)
Weird include "extras"
 
#include <iostream> int main() { std::string s = "hi"; } Why does this work? The compiler ...
[2 replies] Last: The <iostream> header includes the <string> header. So, when you u... (by closed account zb0S216C)
a problem of using STL ,the hash_map
 
My code is like this: #include <iostream> #include <algorithm> #include <hash_map> #include <s...
[4 replies] Last: And the compiler error is... hash_map<Key, Data, HashFcn, EqualKey, ... (by ne555)
A program that I'd like to make to help keep track of my money
 
Just a quick side note: at first my intention was to run this program through a blackberry or an HTC...
[2 replies] Last: I would have thought using Excel + maybe VB script within Excel would ... (by anonymous23323124)
Beginners in C++
 
Hi everyone! I am totally new with C + +, I have previously programmed a part in VB6.0, but that i...
[6 replies] Last: [quote=Tigerblomst]So now I ask here, there is a C + + program can be ... (by Mathhead200)
File Handling (1,2)
 
I had made a quiz. The quiz stores the scores of the users in a file. Now I wanted to do two things ...
[37 replies] Last: Your file stream is probably becoming corrupted or ending before the c... (by Mathhead200)
by AKat
Using sizeOf, Pointers explanation
 
I've been working my way slowly through on understanding pointers. One of the examples in the book s...
[2 replies] Last: Okay, I think I do now. I just had to reread it a few times and think ... (by AKat)
One Time Pin
 
Assuming I have 2 different programs, one called Dongle the other called Connect. One Time Pin (6 d...
[7 replies] Last: I was thinking of something like this. Pls correct me if it wrong. Do... (by jellyfish)
Loop not working
 
This is part of my code I'm having trouble with the second player looping until the bool PlayerHits ...
[2 replies] Last: ok i think i got the while loop running the whole part now but i still... (by CodeMonk)
help
 
Please elp don'tknbow how tocall on functions i am stuck,i want to call my functions hhow can do th...
[16 replies] Last: On line 15 your calling SqRt, not sqrt. This will cause infinite recur... (by ModShop)
by Majeth
Loops - Problem
 
void createPrimes (int max){ int i, j; bool k = 0; for ( i = 2; i <= max; i++){ do { ...
[7 replies] Last: Yes! it's working! My evil minions can now utilize the power of primes... (by Majeth)
Looking for hints on reading file
 
I have to read a text file and then output the information from that text file. I have gotten the f...
[11 replies] Last: Never mind I got it to work, problem solved. Thanks for the help. (by defcon18)
by mkumbo
c++
 
Write the 6- in- one Program for -Finding solution of a Quadratic equation -Finding solution of a ...
[18 replies] Last: Ah, could be. This forum's parser will append to the link the period.... (by webJose)
June 2011 Pages: 1... 394041
  Archived months: [may2011] [jul2011]

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