Beginners - April 2011 (Page 2)

by weaboo
Books on tape.
 
Can thou recommendeth any books on tapeth?
[2 replies] Last: I'm already surrounded with lecture and books, I want audio! gimme gim... (by weaboo)
Starting to Learn OpenGL
 
These questions may sound a little immature, but is opengl code completely platform independent? If so, what would be the best approach to start learning it(I ...
[2 replies] Last: Does the implementation vary too much between platforms? What is the n... (by manasij7479)
function with class as argument
 
Hi, I have to manipulate a given object. Since i don't want to mess around with the code someone else wrote i want to write a class which inherits the object...
[6 replies] Last: Hi, Yesterday i had no more time to work on it but now i read your po... (by Newton88)
by XenonD
Using multiset as an argument in a function
 
Hello! I wonder how I would go about using a multiset in a function ? How would I declare it?
[1 reply] : First: You may look at this http://www.cplusplus.com/forum/beginner/41... (by coder777)
by Kady
Array
 
I am in a C++ programming class, but I am completely lost when it comes to compiling and executing programs, please help! Write a program that declares an ar...
[3 replies] Last: Please don't do people's homework for them. Try to get him/her to atte... (by h3432)
error: expected primary-expression before 'unsigned'
 
Hi guys, I've been having a lot of difficulty finding the solution to this specific error that I've been getting and I can't seem to find any good solutions f...
[9 replies] Last: Okay, another possibilty is you didn't put a semicolon after the curly... (by LBEaston)
The program Always works in the order that I put the code in, I want to make loops.
 
In this program #include <iostream> #include <math.h> using namespace std; int main() { float thisnumber, thisnumber1, thisnumber2, x; ...
[5 replies] Last: Your problem occurs because you have semicolons ' ; ' after your while... (by LBEaston)
My program closes
 
During two spots, when you input numbers, as soon as you input them, the program closes... #include <iostream> using namespace std; int main() {...
[6 replies] Last: [quote=boboman]Basically put system("pause"); return 0; at the end of ... (by lnk2019)
I need to stop the program from closing at certain points.
 
The program is closes at certain points marked with //. can you help? #include <iostream> using namespace std; int hackeralert() { string answe...
[3 replies] Last: Take a look at your main() function. Where will the control go if the ... (by h3432)
by appaz
Help with file manipulation ...
 
Hello everybody, I'm desperate because I don't know anything about C++ and I must organize 340 files with experimental data from my thesis (I've tried to do thi...
[1 reply] : Im not sure what the question is?? Id use an ifstream to .open("myfil... (by boboman)
Encryption>>IO program bringing up a char error :'(
 
Hey, below is the code I have for reading a user inputted char, then encrypting it and writing it to a file. I have written another program to read the file, an...
[7 replies] Last: Holy **** it works! Thank you so much, I don't know why, but I just co... (by superant10000)
Visual 2010 adding a new library
 
I am using Microsoft Visual 2010 and I want to add a new library to use but I do not know the process to reference it in Visual so I can use it. Does anybody kn...
[no replies]
Help with Keyboard Event Handling
 
Problem: How do you disable auto repeat on key down and make it so that the computer doesn't respond to that keystroke only until its back up in the key up posi...
[1 reply] : You may have to pull-in the Windows API for this. I believe the messag... (by closed account zb0S216C)
loops with data from a file
 
i'm trying to figure out exactly how data is displayed from files. i've read all the pages on here about it but it's still not totally making sense. i have an a...
[no replies]
i can't check.
 
// Bob Zambanini - Monday, March 14, 2011 - lab5_2.cpp // // This program - delayed from lab on Monday, February 28, 2011 - // studies 3 basic operations o...
[no replies]
by cnooob
Solving Simutaneous Equations with Matrices (1,2)
 
Hey everyone, I'm having a bit of a problem with the addition code for my program. Sorry to say this but I ONLY need help with the ADDITION code, as I posted th...
[20 replies] Last: No, that's four fields in the array. You can count them. One, two, thr... (by Moschops)
Class Inheritence question
 
If i have a classes and then another class using inheritance from the first one. when i do file handling to the class (put data from .txt file to class) does th...
[1 reply] : Hi zone19871, I am not quite sure what you mean, could you elaborate?... (by dangrr888)
by Faurax
Math with decimals
 
How do I do to make it calculate "c" to 0,5 intead of zero? code: int a = 1; int b = 2; int c = a/b; cout << "Result: " << c << endl; Output: Resu...
[2 replies] Last: Thanks! (by Faurax)
by dAND3h
Please help quickly - FILE I/O
 
Hey, Something really strange is happening and its really not a good time.... My File I/O was working perfect for the last 2 weeks, now, all of a sudden it i...
[6 replies] Last: Ok thanks guys (by dAND3h)
by MQLGuy
Trying to get floats from a text field
 
Hi Im having trouble getting data in raw form out of a text field. I have the following line creating a text field in a window: input1 = CreateWindow(TEXT("E...
[1 reply] : Have you tried converting it with a stringstream? (by LB)
April 2011 Pages: 1234... 55
  Archived months: [mar2011] [may2011]

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