General C++ Programming - September 2008 (Page 2)

memory model
 
Hi! I want to read about the way C++ handles the memory. Need some links about this subject that explain how the memory is organized and how C++ compiler deal...
[2 replies] Last: I guess i did't explained myself well. When we execute a program it i... (by graciano)
which is most efficient when using std::vector?
 
Hello, both codes below do exactly the same and both are working. Here is my question for those more experienced. Which of the two codes below would be the most...
[5 replies] Last: I like version 1 in your first post the best. (by helios)
Exciting Open Source Project in C++
 
I possess an academic level knowledge in C++ and have worked on few classroom projects. Now, I'm looking forward to put my hands into an open source project in ...
[2 replies] Last: scourceforge.net Oh... That was so close to scourgeforge.net... Tw... (by helios)
by Dmitry
***.exe has encountered a problem and needs to close.
 
balata.h class balata { private: char *name; int width; int length; double price; public: static int counter; balata(const char*, con...
[6 replies] Last: Hmm... Somehow I missed it... You should learn to use the debugger.... (by helios)
by lipune
c++
 
what is a symbol table. 2-how can we know the address of a vptr and vtable.
[1 reply] : 1. http://www.google.com/search?q=symbol+table&afid=5052&s=&search= 2... (by Duthomhas)
by Evote
Seperating whitespaces and Floating poing numbers and Strings.
 
I've made a program that creates and builds a variety of spreadsheets with customizable dimensions etc..... for things like. Price lists and recommended retai...
[5 replies] Last: fscanf() isn't going to make too much sense at first if you have never... (by xabnu)
C++ undefined reference
 
Hello. I have a code like this: class A { ... protected: static int var; ... } int A::var; class B : public A { ... void...
[4 replies] Last: Line 6 has a missing semicolon, then. And so does line 17. (by helios)
infile string Array
 
I have to copy words in from a text file into a array i used a code that looks like this. My code errors I was hoping one of you could tell me what i am doing w...
[4 replies] Last: That is the prototype for strcpy(). Notice that it takes two pointers ... (by helios)
by only4u
print value of void pointer
 
Dear Guys, Below is the case: in main program: int a = 999; int b = "abcde"; void* p; p = &a; printPointerValue(p); p = &b; printPointerValue(p); ...
[6 replies] Last: So then what helios said. template< typename T > void printMe( ... (by jsmith)
Opening a file with an unknown name
 
First off, I'm using C++ on windows XP. I have a program that has the ability to create a backup of the data currently being used by the program. The progra...
[4 replies] Last: I've read through all of those links and the problem is simply that th... (by aeronet)
script won't work
 
Even when input does equal exit it won't break #include <iostream> using namespace std; char input ; int main() { while(1) { cout<<"Comma...
[12 replies] Last: Er, well... It does appear that he is as green as they come. I don'... (by Duthomhas)
by Evote
How do i convert string to char array?
 
Well the title says it all. Umm and yes i need to convert them cause i first count the length of a string then add to the end of the string then need to conver...
[5 replies] Last: Thanks guys! :) :D :P XD :] (by Evote)
About arrays and vectors
 
Hello, I have the following doubt. Please consider the following two snippets: Snippet 1: int main() { int size, i; double* p; size = 100; ...
[7 replies] Last: Ok, thanks. You have helped me a lot! not just today but also on the p... (by aortizb)
How I can Give a float Variable (number from text file)
 
How I can Give a float Variable (number from text file) Hello i have a text at this path C:\wamp\www\usd_ask.txt and this file is Just have a number like 3.4...
[7 replies] Last: its un work sorry (by ramishama)
Problem with string.
 
Hi, i have the variable s wich type is string. the value of s is string s = "Doljenli bit bluetooth v telefone?"; The problem is, i can't take only words ...
[2 replies] Last: try with string bibliothek (#include <string.h>). you can do whatever ... (by Dmitry)
by dehdar
RTOS (VxWorks) GUI
 
Hi, I was wondering if there is anyone who has tutorials about GUI-development for VxWorks platforms? Thanks in advance
[no replies]
Combining a Windows Form Application and a Windows API Application
 
Yo, Originally I have a form application that does calculations, displaying etc (the reason I'm using one was because I found it easier to make a GUI in form...
[no replies]
Game + Mouse movements?
 
Hello, I'm new in C++ and I don't know anything about it . So I just wanna know can I do whit c++, that it search from game ( "Lineage 2" :example ) a word ( ...
[2 replies] Last: Sorry I'm not English, but thanks for answer. =) (by HevenlyPain)
use data stored in another function ionvolving header
 
My Case is like this --------------------- //abc.h Public: void write(); void read(); Private: int number_of_item; --------------------- //abc....
[2 replies] Last: Well actually I'm doing an assignment. It requires me to implement a ... (by leguminous)
Using Defines as for Case
 
I am using a switch statement to determine the proper approach based on the value of a specific variable: switch (mID) { case 0://Quit ... break; ...
[4 replies] Last: Don't use "#define" unless absolutely required (e.g. include guards). ... (by exception)
September 2008 Pages: 1234... 11
  Archived months: [aug2008] [oct2008]

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