General C++ Programming - June 2011 (Page 17)

by Janlan
find(); Help!
 
I want to put the cursor at the begin of the found word. This is string! search: string String is at position 0. output. |This is string. The cursor should b...
[2 replies] Last: You can use seekg() i think (by ShiroAisu)
Mobile programming..
 
I want to make one mobile symbian application.. from where to start??
[1 reply] : See http://www.forum.nokia.com/Library/Tools_and_downloads/Other/Symbi... (by hamsterman)
inventory system display
 
a little help please, how will i be able to make a table of display for all user inputs at the end of the program a table something like this BRAND NAME PR...
[no replies]
convert function pointer to C++
 
I have the following function declarations and the function call that works in C. I want to convert the code to C++, but unable to cast it to the correct types...
[12 replies] Last: Agree. Thanks for your time on the discussion. (by naradafernando)
by helios
Double precision
 
After running this: #include <iostream> #include <iomanip> #include <cmath> const double log_of_2=log(2.0); inline double log2(double x){ return l...
[13 replies] Last: Approx theory and numerical analysis are pretty much just applied anal... (by kev82)
The New Boston?
 
Are Bucky's C++ Programming Tutorials on www.thenewboston.com a good place to start for a beginner? Is his information reliable? How good a teacher would you co...
[2 replies] Last: I watched the first video (not installing CodeBlocks, the one after th... (by closed account S6k9GNh0)
event handling
 
so I have a class like: class DoPick{ void clear_qty() { qty = 0; } void enter_part() { //some code that listens for F2, and will call ...
[18 replies] Last: No `this' is a pointer, so you would just pass `this'. bind(this, &X... (by kev82)
Loop through all letter and number possibilities?
 
What I mean is how do i make a loop in C++ that cycles through all possible combinations of letters and numbers (with a limit of course). Like have it start wit...
[1 reply] : it looks something like this #include<iostream> void print(int arr )... (by david91)
mix up a string of arrays
 
Is there any easy method to randomly mix up a char ? example: input:truck output: crkut, tkcur or crukt...
[15 replies] Last: You shouldn't call srand() in your mix_string(). Call it once at the b... (by Caligulaminus)
by Janlan
Menu based console applications
 
Any good tutorials or books for menu based console application? Thanks Janlan
[10 replies] Last: Nobody huh? :) (by Janlan)
physics formulas help
 
Hey, I am working on an openGL game, that uses physics. I've looked online, and found a few formulas that will help with the process, but I'm only in geometry m...
[8 replies] Last: Implementing physics is not simple algebra. If the dynamics equation ... (by naradafernando)
Binary Files
 
Hello i'm traying to extract some images from a binary file so i would like to know if somebody knows what coul i do, or any idea.. I have a file .raw suppose...
[2 replies] Last: well, now i know whta i have to read and i already know what the bigi... (by kingtrocko)
A simple openGL problem I need help with
 
Ok, so I have been having a lot of problems with uploading textures, so I said "fuck it." I decided to make a sort of texture plate program, that takes numbers ...
[no replies]
writing an a file with columns in an array
 
I've a file like this C 1.009 0.987 8.987 89.098 H 2.898 3.087 6.876 5.87 H 3.456 2.345 2.67 8.876 S 2.734 3.45 3.123 5.67 I want to write each column into an...
[9 replies] Last: glad to help ... please mark the post solved if done :) (by acpaluri)
by xcrypt
Access Specifiers + Inheritance
 
Hi. Regarding inheritance: if you have a Base class A, and class B: public A You inherit all members of class A, however you can only use the ones declared as...
[3 replies] Last: [quote=quirkyusername]you can call functions declared in A on a B obje... (by Mathhead200)
by Stoo
Just a point..
 
Hello world. Being somewhat new to C++ I`ve 2 idiot guides and a whole load of examples which seem to fall into 2 catagories; 1 - really really simple data ...
[2 replies] Last: Lol at Framework XD er, I mean, king214 Anyway, as Framework ki... (by LB)
by Da2
Template Function Requirements ?
 
A few days ago, I had an exam, the question was: What do template functions require (meaning , where T is a must) ? 1) template <class T> void func(T& t); ...
[17 replies] Last: Just to be clear, I'm from Israel and the test wasn't in English, so y... (by Da2)
by Deran
Deserialization problem
 
Hi! I'm getting a strange error when trying to deserialize an object. The strange thing about it is that serializing/deserializing works perfectly in one app...
[4 replies] Last: np - the trick is to be certain that you understand how the compiler c... (by kfmfe04)
simplify program, open and read ascii file
 
i am a beginner in c + + and need to simplify this program. and i will prefer to use cout << "Enter the name of an existing text file: "; cin.get (str,25...
[no replies]
Craps Game Overloading function issue
 
I have this code for a Craps game. The problem I am having trouble with is overloading the PlaySession function to also allow for playing the game 1000 times an...
[3 replies] Last: Ah, thanks L B I must have glanced over that part :P. (by Computergeek01)
June 2011 Pages: 1... 1516171819... 28
  Archived months: [may2011] [jul2011]

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