- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
Hello, I try to compilate this progam! It return "Error 4 error C2664: 'LoadLibraryExW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 282 1 test Error 3 error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'LPCSTR' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 200 1 test …
[CODE]for ( i=0;i<a;i++ ) { qin.Echo(); qin>>b; if(b == (char)8) { total--; cuv[i-2]=cuv[i-1]; cuv[i-1]=0; i--; } else if(b!=char(13)){ // for key enter total++; space++; cuv[i]=b; } else break; } [/CODE] If pressed once or twice "backspace" works, but if pressed for more than two times, not working, first i checked …
Solution [CODE]# include <iostream> using namespace std; int main() { int n[10]; int i; int t; for( int i=0;i<10;i++) { cin>>n[i]; } for ( int i=0;i<9;i++) { if(n[i]>n[i+1]) { t=n[i+1]; n[i+1]=n[i]; } cout<<n[i]<<" "; } return 0; }[/CODE]
Hello, You can read more from [URL="http://www.cplusplus.com/doc/tutorial/program_structure/"]here[/URL] You request one example. [CODE]#include<iostream> using namespace std; int main() { int num1,num2,result; cout<<"Enter First number "; cin>>num1; cout<<"Enter second number "; cin>>num2; result=num1*num2// For multiplication cout<<"Multiplication of first and second number is "<<result; return 0; } [/CODE] PS: :) " The value …
So, that is funny :) i arrived here by change :) i want to translate "● The average (mean) number of occurrences for the vowels" because my eanglish is not good :) and i found my problem for my challange :)) . So, sodha125 , he can't use this method …
The End.
KasmIR