General C++ Programming - September 2009 (Page 8)

by xxFxx
stack using double pointer
 
i am trying to create stack without STL or vector.so what is to create a new stack where each element in the stack consists of pointers to a string from user. ...
[no replies]
exercise
 
just help me???? i have just a problem on my exercise i need help! the instructur is tell us all BSCS that we can find problem in any books that has problem a...
[4 replies] Last: Agreed Jsmith :) (by DrChill)
downloading .csv files using c++
 
hey all, im a college student doing some noobie research. and basically it involves a program that can download files from the internet (like given the url o...
[no replies]
by wtf
Mathematics question: determining size of key space of encryption cipher
 
I'm trying to figure out how many bits are the keys generated from a 3x3 or a 4x4 or a 5x5 HILL CIPHER. I know that a 5x5 matrix modulo 26 is about 114 bits. ...
[3 replies] Last: Read the part of the article on decryption. If you are choosing mod... (by Duthomhas)
Bullet physics library
 
I have recently stubled upon Bullet Physics 2.75. I have not been able to compile any of the sample programs that come with it (at www.bulletphysics.com) with m...
[4 replies] Last: If there is a solution to this, please tell me. All of the errors are ... (by rvbman47)
Timing in C++
 
Hello--I'm looking for a little help with using graphics (such as openGL) in C++. I'm using Visual C++ express edition. I've been using the nehe.gamedev.net ...
[4 replies] Last: 60 FPS is where the game is updating at least as fast as the screen. ... (by Zaita)
by nabeel
Allocation/deallocation of variable length objects
 
Hi, I have a (C++) project that involves structs of a dynamic size. It's ugly, but it's part of predefined interface and I have no choice but to use it. ...
[11 replies] Last: Now that I think about it, someType has to be a POD-type. It can't be... (by jsmith)
Calculator
 
Ok so this is my noobie calculator. This is not to show off my skills (the few that i have) but I was wondering if you could evaluate and analyse the code and t...
[13 replies] Last: There is no need to have all these variables: int subtractionOne; ... (by jsmith)
Placing an equation in a string and solving for it
 
I am a bit new to C++, but I am trying to make a string variable such as string fx; fx = "2*x + 1"; I am wanting to set x to a certain value, lets say x ...
[2 replies] Last: You can see this example implementation of a calculator: http://www.re... (by Bazzy)
by wtf
How should I market my program?
 
Please I appreciate the advice and assistance, and if anyone knows of a good entry level computer related job that they'd be willing to fudge around a little bi...
[12 replies] Last: That theory pretty much sums up Wal-Marts success too. Full of trash,... (by wtf)
by ren
strcpy versus = operator
 
I have the below code snippet, a very elementary one. void main(){ char * p = (char*)malloc(sizeof(char*)*13); *p = "Hello World"; cout<<*p<<endl...
[3 replies] Last: main is supposed to return int. And also, why are you using malloc and... (by Chewbob)
Segmentation fault
 
Hey, So I try to write a small thing that initializes a class which contains an array and then outputs it. However, it gives a segmentation fault on line 13. ...
[2 replies] Last: Hey, yeah, that helped. I feel so stupid. Thanks so much for pointing... (by steffen)
Count word,Count how many times it is used in a text
 
could some one help me....how to display all the words that is used and sort them from the most used to the less ......those it called word frequency or word s...
[1 reply] : Show your efforts and you'll get help http://www.cplusplus.com/forum/... (by Bazzy)
by privs
date comparison
 
I am using c++ 2006 by borland delphi I have two dates that i want compared , basically i want to find out how may minutes between them I am a novice when...
[1 reply] : look into boost's date time library http://www.boost.org/doc/libs/1_4... (by R0mai)
by hellis
unkown character error?
 
Hi, I am currently programing in Visual Studios C++ (6.0) and using Windows XP. I am programming a device called NI USB 6009 (an analog to digital convert...
[1 reply] : You can't #include a library like that. Just remove the #include of ... (by jsmith)
by elly
float long comparison
 
Hi, I have long int x, long int y and float f. In a case x = 380, y = 38 and f = 0.1 when i make make the comparison if(y >= x * y) cout << "true"; else ...
[6 replies] Last: @rvbman: Two things. In C++, "floating point" constants such as 0.... (by jsmith)
by ajitm
how to call stored procedure in c++ using odbc
 
hi i am using odbc and i want to call stored procedure in sql server using odbc so what are the steps i have to fallow to call the stored procedure thanks in ...
[2 replies] Last: hi i am using odbc and c++ to call sp_rename procedure in sql server... (by ajitm)
E_NOTIMPL error with IActiveDesktop
 
I'm trying to write a program that will save the positions of all my icons on my desktop so that if they get jumbled up, I don't have to spend five minutes putt...
[3 replies] Last: I needed to do it as I plugged the code into an old project that I use... (by kbw)
by DBarzo
Strange operator overloading
 
Hi, I've a class that defines this: operator bool () const { return (p != NULL) ; } where p is a pointer to an object. Which operator is overloaded ...
[4 replies] Last: Simple, doesn't it? :-P Thanks helios! Daniele. (by DBarzo)
Using Struct
 
Who can help.....my program won't run at all...I tried everything possible...what am I missing... #include <iostream> #include <fstream> #include <string> ...
[5 replies] Last: Your program is written to read from a file, "cars.dat", and write to ... (by dfarmer)
September 2009 Pages: 1... 678910... 14
  Archived months: [aug2009] [oct2009]

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