General C++ Programming - May 2013 (Page 7)

Add two numbers as strings
 
Hi guys.I need to make a small program with a function with this prototype: void f(char *a,char *b) ...
[17 replies] Last: It can be, but in process you will create your own version of atoi w... (by MiiNiPaa)
Loop problem
 
Hi everyone, any idea why the first time you run through the loop where you enter the information fo...
[4 replies] Last: brilliant, thanks very much! (by royal1664)
c++ code generation tool from AIDL
 
I want to design a tool which generates c++ interface from android interface definition language.In ...
[3 replies] Last: i have no any IDEA for this time.. (by Toddbecem)
code generator
 
i have AST.cpp file(abstract syntax tree) and i need to generate cpp interface. i need to create and...
[no replies]
by jcurru
Confused after 20 years!!
 
Hello!! I'm really confused after 20 years programming in C++ I have this code: A::A() { try { ...
[7 replies] Last: I will, MiiniPaa, thanks. I'll also try in another compiler. (by jcurru)
modifying the aidl compiler to generate c++ interface
 
i saw the source code for aidl compiler which is written in c++. i have to modify so that i can get...
[no replies]
Access another library (dll) which has same class name and method name
 
Hi, I'm new to C++. Here is my scenario. I have 2 c++ libraries called "Lib1" and "Lib2". Both libra...
[1 reply] : Method 1 Each library should define its public stuff in its own name... (by kbw)
by bmw
Unexplainable problem
 
I am trying to compare 2 char arrays with strcmp. The two char arrays are both exactly the same ( ,...
[4 replies] Last: If someone can help me i would be greatfull :) I'm dealing with animat... (by tomek320)
C++ OpenMP parallel is not working
 
Hi,I'm trying to implement Parallel loop with OpenMP. I just googled and got the below sample, but i...
[4 replies] Last: Hi, Thanks for valuable answers. I got answer for my problem, that is,... (by Ravi Prabakaran)
by Daleth
Overloading the modulus operator.
 
Say I wanted to overload the modulus operator to return the remainder of a division between two floa...
[5 replies] Last: FML, I never knew about that function. (by Daleth)
by Daleth
Understanding reference variables
 
In an article I read, the author made the claim that references were like constant pointers, but man...
[4 replies] Last: Ah, okay. Thanks for the clarification! (by Daleth)
by Nybble
memcpy vs std::copy?
 
Hello everyone, First off let me tell you what I am trying to achieve. I am trying to finish my pack...
[10 replies] Last: Yes I do use reverse too, kbw's solution is good I actually use that m... (by Nybble)
Pascal to C++
 
Hey guys, I've been learning pascal for a while as I was told it was a good starting language, thoug...
[6 replies] Last: i do believe Borland's Delphi is VERY powerful, and if you can't use i... (by NSharbz)
std::bind and std::function with template aguments
 
I'm trying to create a callback wrapper for pointers to member functions of any class by using templ...
[4 replies] Last: I don't think I'll have need for that much flexibility in the event ca... (by ModShop)
Simple input prompt doesnt show
 
Hey everyone, im simply trying to get the user to enter the new username when creating a new account...
[4 replies] Last: Here's a getpassword() function for you. http://www.cplusplus.com/fo... (by Duthomhas)
Bottone
 
Can You Please Enter A Code for a bottone... Thanks. //not yet One That you can click and then ...
[1 reply] : http://stackoverflow.com/questions/1475021/normal-looking-button-with-... (by MiiNiPaa)
Help with allegro 4.2.3: Linkererror undefined reference to 'Winmain@16'
 
So I have been seeing this error pop up on almost every computer I have used to create projects with...
[no replies]
arrays
 
hi .. hope you will be fine and having good health as well.. would please sort something out for me,...
[4 replies] Last: @ ibranext cout << "\n Enter FIRST Name Here: " ; cout << "\n Enter L... (by MiiNiPaa)
Simple RPG (What Is Wrong?)
 
Help... What Did I Do Wrong In My Program? #include <iostream> #include <windows.h> using ...
[5 replies] Last: Can You Copy Paste The Code With All The Changes (by closed account jyU4izwU)
SUbset SUM
 
http://www.spoj.com/problems/SUBSUMS/ I wrote the below code for the above problem .. but i am gett...
[no replies]
May 2013 Pages: 1... 56789... 47
  Archived months: [apr2013] [jun2013]

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