Click here to Skip to main content
15,903,030 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: HTTP: Pin
led mike4-May-06 12:26
led mike4-May-06 12:26 
QuestionHow to call unmanaged C++ DLL method with a CString reference Pin
Bo Skjoett27-Apr-06 23:02
Bo Skjoett27-Apr-06 23:02 
AnswerRe: How to call unmanaged C++ DLL method with a CString reference Pin
Milton Karimbekallil28-Apr-06 2:01
Milton Karimbekallil28-Apr-06 2:01 
Questionadding dll Pin
rahultaing25-Apr-06 13:41
rahultaing25-Apr-06 13:41 
AnswerRe: adding dll Pin
2bee 25-Apr-06 23:50
2bee 25-Apr-06 23:50 
GeneralRe: adding dll Pin
George L. Jackson26-Apr-06 9:00
George L. Jackson26-Apr-06 9:00 
Questionspeed data access in server Pin
sabitasamal24-Apr-06 20:40
sabitasamal24-Apr-06 20:40 
Questioni have problems Pin
sieucauthu23-Apr-06 19:12
sieucauthu23-Apr-06 19:12 
This is the first time I write a program after learning C++ for 1 week ago.
I use Dev-C++ and I want my program to do function such as:
Ask person to type two number : 1st number ; 2nd number.
such as: 2 ; 5;
and I want my program to get me the sum : 2 + 3 + 4 + 5 = 14
but I try many times and it always gives me : 2 + 5 = 7
This is my code :
using namespace std;
#include <iostream>
long result(long d , long e)
{
if (d >= 1 , d < e)
{
return (result(d + 1,0));
}
else
return (0);
}
int main()
{
long a,b;
long c;
cout << "1st number : ";
cin >> a;
cout << "2nd number : ";
cin >> b;
c = a + result(a , b) + b;
cout << c;
return 0;
}

Can someone tell what 's wrong with my code, and give me a hint to do it.
Thankz.
AnswerRe: i have problems Pin
Steve Pullan23-Apr-06 19:29
Steve Pullan23-Apr-06 19:29 
GeneralRe: i have problems Pin
sieucauthu23-Apr-06 19:49
sieucauthu23-Apr-06 19:49 
QuestionUsing serial ports in vs on xp Pin
McFly55523-Apr-06 10:37
McFly55523-Apr-06 10:37 
AnswerRe: Using serial ports in vs on xp Pin
2bee 23-Apr-06 11:34
2bee 23-Apr-06 11:34 
GeneralRe: Using serial ports in vs on xp Pin
McFly55524-Apr-06 14:52
McFly55524-Apr-06 14:52 
GeneralRe: Using serial ports in vs on xp Pin
2bee 24-Apr-06 20:30
2bee 24-Apr-06 20:30 
GeneralRe: Using serial ports in vs on xp Pin
TheCat00722-Jun-06 18:16
TheCat00722-Jun-06 18:16 
QuestionCan anyone tell me why am i getting these errors? Pin
rahultaing22-Apr-06 22:45
rahultaing22-Apr-06 22:45 
AnswerRe: Can anyone tell me why am i getting these errors? Pin
George L. Jackson23-Apr-06 1:48
George L. Jackson23-Apr-06 1:48 
Questionhow can i update the code of my server! Pin
farshad.f22-Apr-06 6:57
farshad.f22-Apr-06 6:57 
Questionproblem with mail &amp;&amp; messenger services! Pin
farshad.f21-Apr-06 19:06
farshad.f21-Apr-06 19:06 
Questionremote file manager! Pin
farshad.f21-Apr-06 18:54
farshad.f21-Apr-06 18:54 
QuestiontreeView_NodeMouseClick Event Pin
rahultaing21-Apr-06 13:00
rahultaing21-Apr-06 13:00 
Questionarray of strings Pin
John L. DeVito20-Apr-06 10:13
professionalJohn L. DeVito20-Apr-06 10:13 
AnswerRe: array of strings Pin
Dave Doknjas20-Apr-06 12:34
Dave Doknjas20-Apr-06 12:34 
AnswerRe: array of strings Pin
John R. Shaw22-Apr-06 19:51
John R. Shaw22-Apr-06 19:51 
GeneralRe: array of strings Pin
2bee 23-Apr-06 8:06
2bee 23-Apr-06 8:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.