General C++ Programming - May 2010 (Page 19)

by mickey
Read file and extract text
 
Hi, I am new to C++, I was wondering if someone could help me with this. I have a file and it...
[9 replies] Last: Checking the first column: std::string arg1 = "XYZ"; std::st... (by Galik)
How to get the Responce from vmware
 
Hi Experts I need The Help that how i will get the responce from the vmware That what happening ...
[1 reply] : If your code is running, the VM is on. :-) Is what you really want ... (by PanGalactic)
Getting Address of Current Instance
 
Ok so my situation is this: I have a static member of my class which happens to be an array of poin...
[2 replies] Last: For serious! Oh my gosh, thank you for that! (by ultifinitus)
noskipws stringstream
 
Hello everybody i have the following question: "Hello world" to cin and the following code ...
[no replies]
by sidjey
class, realising binary tree
 
People, help to make please the program with binary tree...Here the task.. To create the class, r...
[1 reply] : Look at wikipedia for Binary Search Tree: http://en.wikipedia.org/wiki... (by imi)
counting paired elements in a Vector
 
I have the following functions that pairup different elements in the container, I want to cont the p...
[4 replies] Last: Well void sort( BidList &bidlist ) { stable_sort( bidlist.be... (by gnwillix88)
by sedrel
Virtual operator== overloading in derived templat classes
 
Hi, I'm fairly new to C++ (old Ada guy), and I'm having a problem which I hope you experts can help...
[5 replies] Last: I prefer this solution over the one in the link: template <class... (by imi)
by bezad
Template Link Error LNK2019 Can be avoided
 
I have seen this Link Error when using templates with Microsoft Visual C++ on many occasions. This i...
[2 replies] Last: ... or template pre-instantiation. (by kbw)
Quick sort algorithm troubles
 
void quicksort(vector<int> &data, int start, int end) { int i=start,j=end; int l; i...
[1 reply] : What do you want for someone to debug it for you? Have you tried to d... (by kempofighter)
.txt to ASCII Code Array
 
How would I go about importing a text in to an array in ASCII code. Not the actual characters, but t...
[3 replies] Last: You've got it. The only difference between and ASCII value and what... (by Duthomhas)
counting number of words in a text file in C++
 
i am kinda of on the right path i think. the problem is i am reading the number of characters in a f...
[3 replies] Last: yeah i think gcount or istream& get ( char& c ) or istream& get (char... (by timbomo)
by niti
Problem in pointing to next address in linked list
 
Hi Consider the following piece of code: - int main() { lst *start = NULL, temp1=NULL; ls...
[1 reply] : That code is totally, completely wrong. First of all, temp is uni... (by jsmith)
C++ on Windows V.S. Unix
 
I'm a beginner in C++ Programming (not to programing in general) and I wasn't sure if this post shou...
[14 replies] Last: @TheTSPSolver You might want to look at something like Cygwin: http... (by Galik)
by LuisRT
Events on C++
 
How can I do to have a routine that gets started everytime there's a rise of volume on the microphon...
[2 replies] Last: You're getting ahead of us helios. Either one requires a process to wa... (by Computergeek01)
by oha
match column value in text file
 
I've a small problem with text file in c++. I need to extract the value of one column with condition...
[5 replies] Last: many thanks Imi :) my problem is solved, I used stri... (by oha)
by Javac
C++ - unsigned long long int comparison
 
Hey all, I have two unsigned long long int variables that i want to compare (such as >=, == etc) ...
[3 replies] Last: I think you get wrong results when var is larger than var , eg: ... (by Null)
File I/O
 
I have a file to write in binary mode. Right now I am doing this as below int main() { ...
[7 replies] Last: Oh ok, I got the problem. Thank you. :) (by rachitagrawal)
Bitwise Operators
 
Hello Everyone! I am currently working on a program that requires me to ask the user to input two nu...
[3 replies] Last: Wow, I guess that is why it wasn't throwing a message, because when I ... (by ohsnap1319)
Type name Expected: Error
 
Hi, I have a class as below, when am trying to compile getting the error "Type name Expected"....
[1 reply] : You should post the full error message, and the line with the error, a... (by kbw)
by Null
int to char array conversion
 
I need to convert an integer into array of chars: unsigned int ret_num() { return 112; } ...
[2 replies] Last: Endian-unsafe: union int_bytes { unsigned char chars[ 4 ]; ... (by Duthomhas)
May 2010 Pages: 1... 171819202122
  Archived months: [apr2010] [jun2010]

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