Beginners - October 2011 (Page 6)

by bob57
.txt into 2d array help?
 
I need to read this .txt file into an array; John 100 100 90 95 85 100 90 100 100 98 75 Tom 90 92 8...
[10 replies] Last: Yes, that is correct. If you replace the d_in >> with cout << you ... (by Maese909)
by homsta
Can functions in a header use pass by reference of user made types?
 
I have 3 classes(customer, bank, statistics) and for some reason I can pass by reference A bank type...
[no replies]
Count User input
 
Sir I want to know How i Count User input : i make a program but it is not working correct: Ple...
[1 reply] : Fixes. Also get an up to date compiler. #include <iostream> int main ... (by wolfgang)
Recording System Issue C++
 
Hello: I have been working on a very extensive recording system, and I only have one issue that I...
[2 replies] Last: Okay. I'll try that and get back to you if I can't figure it out. Th... (by CPlusPlusBeginner)
Problem creating circular linked list; possible problem with call-by-ref -- help please
 
So I'm trying to create a linked list consisting of a class. I'm not using a lot of the functions wh...
[2 replies] Last: ne555, You are absolutely right. Thank you! This is a bit embarrassin... (by bool maybe)
Graphic APIs for different operating systems
 
Hi. While you use DirectX to handle task related to multimedia - What do you use on Linux and Mac...
[1 reply] : OpenGL is another alternative for graphics. For other things (input... (by Disch)
Linker problems with inline functions
 
So... After alot of headaches I figured that this is causing linker errors: (since code is rather la...
[1 reply] : You didn't defined it in console.h (you just declare it) inline and ... (by ne555)
What is :(.text+0x4b5): undefined reference to
 
Hello. I'm a first year CS student learning C++. I've been scouring this site over most of this seme...
[3 replies] Last: Ah, I'm an idiot. I typed compute_call_cost-dollar instead of compute_... (by WhyIsTheCouchAlwaysWet)
by Ruins
O/I Streams an arrays/functions
 
I am trying the get the program to create a .txt file and then input text to that file after using a...
[no replies]
problem in calculation of sum of user input and how many time a userinput data.
 
#include <iostream.h> void f(int); int main () { int mealprice; int i, userinput ; ...
[no replies]
Game Program. Not getting what i expected from all the work :(
 
sorry if this is not the right place. I am new. This is Game called Mastermind. I have the descri...
[6 replies] Last: OK so the thing is that everytime I enter my guess it give me a upside... (by biplav17)
by phapha
expected unqualified id before 'namespace'
 
Hi all, I am writing an application in C++ and I have the error "expected unqualified id before 'nam...
[6 replies] Last: In general, compilers tells you in that line is the error. Sometimes y... (by ne555)
by ea71
Boolean Operators
 
Hello, I'm having the hardest time understanding how to use boolean operators such as NOT (!), AN...
[6 replies] Last: Thanks Disch. I'm just starting to learn C++. I have Dev-C++ for my ... (by ea71)
String Transposition
 
Hello, I am working on a project where if need to compare a multiple strings from a file and it nee...
[1 reply] : I think a solution might me: read all the strings and memorize them in... (by CosminNTG)
by homsta
How do you use errors?
 
This how my code is setup bool login_page() { int choice; cout<<"Welcome to The First N...
[2 replies] Last: Ya it was the cin that was giving me the biggest issue. I've fixed tha... (by homsta)
Learning C++, how do I practice?
 
So for about 2 weeks now I have been trying to learn C++ from youtube videos, which most of them a...
[4 replies] Last: Find a problem that needs solving and develop a program to solve it. (by rmsharkey)
3rd permutation generator
 
Hi all, Below is the code that generates permutations of n elements. Please describe how it works...
[3 replies] Last: I don't mean this to sound rude. I could describe each line, but I won... (by JMJAtlanta)
by Thamir
Run step by step
 
I use microsoft visual C++ express 2008 , I'v a program contains many function so I need to run that...
[3 replies] Last: Thank you so much , Im very grateful (by Thamir)
is it possible i'm just not smart enough to learn?
 
So I haven't been working at this long (about 2 weeks), but honestly I get passed the "very basi...
[9 replies] Last: Don't worry, it will click eventually, it took me a few months and the... (by JokerDan)
Classes & Arrays
 
I understand that classes are blueprints, and instances of this class/blueprint can be created at wi...
[6 replies] Last: I have a large understanding of all of the basics, i have read all of ... (by JokerDan)
October 2011 Pages: 1... 45678... 59
  Archived months: [sep2011] [nov2011]

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