General C++ Programming - January 2011 (Page 11)

by madjas
writing and reading
 
im having this problem on reading the input. i have this code #include <iostream> #include <fst...
[4 replies] Last: the note pad online had these 2 #[10 2]. i thing the problem is in vis... (by madjas)
Skipping Over a Function
 
So I am using SDL and I am refrencing a function that renders a image. But when I run the program it...
[1 reply] : if(mapIndex = 0) That's assignment, not comparison. Don't put usi... (by ne555)
Accessing an iterator after the end of a list
 
Hi all, I'm trying to understand the code at the bottom of my post. I am working with a som...
[3 replies] Last: Hm, try putting a check (or a breakpoint) after the first for loop and... (by firedraco)
by paeez
char array
 
hi dear all I am a new member , my question is about store one char array with 2 for loop to one ...
[6 replies] Last: Dear kbw Thank you so much it was a good point and help to me ... (by paeez)
[Question] Modifying Windows 7
 
Hey everyone, I want to customize Windows 7 with C++. For instance, I want to add sound effects, vis...
[2 replies] Last: You'd need to modify whatever Windows 7's MSGINA is. (I'm pretty sure ... (by Duthomhas)
by Faaz
Display it on the screen
 
hey ive got this code which calculates pollution for 6days and then shows the average entered by the...
[no replies]
problem with array
 
okey this is my first time i got a proplem witch i could not solve with google :s any way this is j...
[4 replies] Last: No problem, anytime. (by ultifinitus)
calculating game
 
hi everyone, plz guide me. actually i m new here & want that computer randomly generate two numbers ...
[2 replies] Last: If you're creating this program for Windows, maybe you could #include ... (by Johnnyboy)
by paeez
calling array
 
hi dear all I wanted to know how I can use one array in one function that this array has gotte...
[5 replies] Last: In C++ one typically uses std::vector for this sort of thing, avoidi... (by PanGalactic)
by mIXpRo
default parameters in template
 
hii every one i want to use std::less (function object) as a default in a class template like so : ...
[5 replies] Last: thnx a lot , you know c++ , i mean know know ;) (by mIXpRo)
Ask about Functional Pointer
 
Hi everybody ! Anybody helps me plz ! I have problem with functional pointer. I want to calculate s...
[6 replies] Last: No. Not my purpose. If do like that, I can use if or case statement, n... (by micheal9000)
Problem with password function
 
I have this header file below for getting a password in a console mode program. The problem i have i...
[1 reply] : you're missing a '}' and don't put the line numbers ... use in... (by cran)
by Kyon
GenericVariables through Unions
 
I'm trying to implement a GenericVariable (which should allow people to just use that type to do pra...
[9 replies] Last: See jsmith's comment: http://www.cplusplus.com/forum/general/34558/#m... (by kbw)
Lucas Kanade Algorithm modification
 
Hi all, I am using the Lucas Kanade demo application found in the opencv library. I am using it ...
[no replies]
Unresolved External Symbol???????
 
So I am using SDL and I created a .cpp file with declaritons of global varibles then a header with e...
[1 reply] : const ... is resolved directly without having variables. just put th... (by coder777)
by ML380
ban of inheritance
 
Hi! I have found question: How do I forbid opportunity of inheritance, using virtual inheritance? ...
[17 replies] Last: //compiler bug \/ friend class FriendMaker<T>::Type; In Visual... (by ML380)
by Whorse
Double ended linked list remove node
 
I'm attempting to add a Remove(Class position); function to my double ended linked list, however I'm...
[14 replies] Last: That seems a memory leak. You are making your nodes inaccessible and y... (by ne555)
make bootabe program
 
Hi guy: I need help to create a very simple program that can print something like: cout<<"hello"...
[1 reply] : http://mikeos.berlios.de/write-your-own-os.html This one says 'This... (by Moschops)
Understanding Arrays
 
I am currently studying arrays. I think that I understand how they work, i.e., how they are filled, ...
[4 replies] Last: you can be overwriting important values to other programs Unless ... (by closed account 1yR4jE8b)
Is it a good idea to describe functions in header files?
 
I've heard that you shouldn't. I'd rather have another way though, instead of cluttering all of the ...
[6 replies] Last: Boost is a good example of a major C++ project where most of the libra... (by PanGalactic)
January 2011 Pages: 1... 910111213... 24
  Archived months: [dec2010] [feb2011]

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