Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: Member 8238193 [x]
Define new basis type by Member 8238193
Question 2 Jan 2013   license: CPOL
Hello.How we can define a new basis types?We know hexadecimal or decimal base and conversions between these types, now how is possible to define a 256 basis type of data?(e.g. A type for keep the ASCII values)Thanks.
C++
Question 31 Aug 2012   license: CPOL
Hello.What does this code do?And what is the purpose of the "for" while?int hash(const char *str) { if (str != 0) { unsigned h = str [0]; for (int i = 1; str [i] != 0; ++i) h = (h
Question 4 Jul 2012   license: CPOL
How to create a timer from system date to a specified date and reverse counter of time to the notify a message on a new window?( on linux & windows )Thanks.
Question 18 Jun 2012   license: CPOL
Hi.I have function and i do not know what events are occurred in it. And I used it in many of the main, If i write a file by "ostream" , events are wrote successfully but when the function recalled, the events are cleaned from the text file and it start's to write from the first of the...
Question 21 May 2012   license: CPOL
Hi.How can i get a string with the '\n' ( Enter )?for example, in the this code, just can read the one of lines and not more.#include #include int main(){ string str; std::cin>> str;}or in other words, what is the solutions for getting the strings and...
"catch" command on C++ by Member 8238193
Question 2 Mar 2012   license: CPOL
Hi.I was writing on c++ and when i go to define a object from a class with the name "catch", i noticed this is a command such as "int" or "double" .I wanna informations about "catch", because i curious about it.Thanks.
C++
explicit functions on C++ by Member 8238193
Question 28 Feb 2012   license: CPOL
Hello.The meaning of "explicit" before define the function is what?Ex:class Line{public: /** a*x+b*y+c=0 */ explicit Line(const double & a = 0.0, const double & b = 0.0, const double & c = 0.0): mA(a), mB(b), mC(c) {} Line(const Vector & point1, const Vector & point2) { if...
C++
How to Parsing a String by Member 8238193
Question 25 Feb 2012   license: CPOL
Hello.How to parsing a string as str?stringstream strs;strs
int variables to string by Member 8238193
Question 3 Feb 2012   license: CPOL
Hi.How to convert 3 integer variable to one string?Ex:int a = 1;int b = 2;int c = 3;string str = a" "b" "c" ";//1 2 3
C++
Question 13 Dec 2011   license: CPOL
Hello.What is rcssserver-15.0.1 (robo cup soccer simulation) dependences?rcssserver is available from http://sourceforge.net/projects/sserver/files/rcssserver/15.0.1/rcssserver-15.0.1.tar.gz/download[^]because when i go to make it, i get this error:player_command_tok.lpp:255:2: error:...
C++
how to sort the list by Member 8238193
Question 3 Dec 2011   license: CPOL
Hi.we have a list of one class.how to sort it by a variable as X ?( X is member of Class)
C++
Question 23 Nov 2011   license: CPOL
Hello.Thank you for answering to my questions.How can write a program to search in Google?
a Question of : and , by Member 8238193
Question 23 Nov 2011   license: CPOL
Hello.what is the role of ":" and "," on this function?GameTime(const log & c, const log & s) : M_cycle(c), M_stopped(s)Thanks.
C++

Page 1 of 1


Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid