Beginners - November 2010 (Page 38)

by nevero
Method header and attributes
 
Hi, I'm trying to understand a portion of code made with template. template<class T> class ...
[2 replies] Last: Okay !! Thanks a lot, solved my problem :) (by nevero)
graphics
 
i am making a program, but have no idea how to make graphics, and use them. please help!!
[1 reply] : Making graphics can be done with image editing software. Using graphic... (by Kyon)
by wtf
Is this syntax possible? (or something similar to it)
 
I want to take a string and contantiate a character to it, but only if the char is not a whitespace....
[8 replies] Last: because you must have a character value in a character literal, it wou... (by Bazzy)
reading file(loop) with a blank space in it
 
My code: #include <fstream> #include <iostream> using namespace std; int main(){ ifstream f...
[no replies]
Print function
 
I have to make a box of $ that is n wide, n/2 down, and n-2 \b's in the middle rows. cin << n if n...
[2 replies] Last: Thank you very much :) (by soulflyn)
specific
 
I need more clarafication on instanization, Assingment, and declaration they seem the same.
[2 replies] Last: That will do now some one define it pseudo or just define them in eng... (by gratstone)
c++ class program having trouble
 
#include <iostream> using namespace std; int main() { class Student { private: ...
[no replies]
About "error: assignment of data-member ‘A::pCost’ in read-only structure"
 
About "error: assignment of data-member ‘A::pCost’ in read-only structure". Hi there, I go...
[3 replies] Last: I don't really understand your question but: Making a const member ... (by Raggers)
Print Function
 
Hello. I'm trying to use a Print function to make a box of "$" based on a number from a cin <<. For ...
[1 reply] : You can print a temporary string (per line) eg: std::cout << std::... (by Bazzy)
by rej3kt
Header Guards (1,2)
 
I've completley confused myself and no nothings working. I'd love any help I can get thanks. I'll...
[38 replies] Last: Finally fixed it and got inheritance working!!!! (by rej3kt)
EOF in Visual C++?
 
I'm using Microsoft Visual C++ 2010 Express, and I was told that to send an EOF (end-of-file) signal...
[3 replies] Last: It's not a Visual Studio thing, it's Microsoft's shell, cmd.exe, thing... (by kbw)
by wizard
progress bar is not working properly while minimize the application.
 
Hello all, I am using Microsoft visual C++ 8 for development. In this i am loading 72 images into...
[5 replies] Last: What you need to do is run your loading function inside a BackGroundWo... (by Raggers)
Problems writing to a stream
 
Hi all, I'm back again with more i/o issues! Everything I read suggests that this should work, b...
[8 replies] Last: The problem was the function CreateStreamOnHGlobal it was completely u... (by dbridle)
Ubuntu / Getting volume of Mic input
 
This might be a little outlandish... but I am trying to communicate with the mic in C++ on a ubuntu ...
[4 replies] Last: Yes sorry I'v only done this ones a long time ago. I used PortAudio f... (by Raggers)
C++ trouble with a sorted list program?
 
Implement a class SortedList as defined by the following skeleton: #define MAX_ITEMS 10 typedef ...
[1 reply] : Lines 29 and 62: Recheck the type of x (it's float ). All instance... (by Albatross)
word count
 
I am trying to count words in a simple sentence.Like Little Red Riding Hood. can someone show me...
[1 reply] : How about counting the spaces between words and adding 1? std::string:... (by Albatross)
[Solved]Problem with skipws I/O manipulator
 
Hello everyone! I'm a bit confused about how to use the skipws I/O manipulator. Suppose I hav...
[3 replies] Last: I've figured it out: you need to use the "ws" I/O manipulator, and not... (by JoshuaS)
inFile/output data
 
I am behind in my classes due to me missing a couple days for being sick and I am lost on how to han...
[no replies]
parser error void not a void
 
the following method (declared void in the header) is giving me the following error on the line...
[2 replies] Last: thanks: Just came to type the same thing 8) (by chocbudda)
Darts console program hitch
 
ok so everything is going fine untill i found this..(i'm a noob by the way) My console looks like...
[1 reply] : Something like a vector array? vector<float> gameArray; ?... (by DrolArumil)
November 2010 Pages: 1... 3637383940... 42
  Archived months: [oct2010] [dec2010]

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