Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
3 Commented Posts
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 25

10 Posted Topics

Member Avatar for arsalanghouri

Don't take this wrong but do you really think we have nothing else to do but write project for you ??

Member Avatar for arsalanghouri
0
127
Member Avatar for dansnyderECE

I have tested this and it works fine [CODE] for(int i = 0; i < words.length(); ++i) { if ( words[i] == 's' && words[i+1] == 'p' ) { words.insert(i, "$"); cout << words << endl; i += 2; } }[/CODE] EDIT: Didn't see your post

Member Avatar for Taywin
0
104
Member Avatar for samaru
Member Avatar for Galdzor

Problem is in the line 43 && line 48 Operator x does not exist if you want to get result of multiplication you need to use * operator instead of x

Member Avatar for Kanoisa
0
182
Member Avatar for Jeronim

Topic title is not the best but nvm I have been looking for this on internet but cant it find anything useful. [CODE]#include <windows.h> void main() { ShellExecute(NULL, "open", "http://dreamincode.net", NULL, NULL, SW_SHOWNORMAL); }[/CODE] This is function which I have found on net to open URL, problem of this function …

Member Avatar for Jeronim
0
1K
Member Avatar for Jeronim

I saw few treads referring to this subject but I just can't get this working includs.cpp [CODE]#include <iostream> using namespace std;[/CODE] main.cpp [CODE]#include "includs.cpp" #include "ispis2.cpp" int main() { ispis(); system("pause"); }[/CODE] ispis2.cpp [CODE]void ispis(){ cout<<"tets file"<<endl; }[/CODE] After compiling this I always get the flowing error [CODE]error C2065: 'cout' …

Member Avatar for corby
0
103
Member Avatar for Jeronim

I'm writing some program and i was wondering is there any way to change ALL numbers in array at once for example when you initialise array you can write [CODE]int array[10]={0};[/CODE] is there anything like that i can use in the [B]middle[/B] of the program. I have googled for it …

Member Avatar for Narue
0
78
Member Avatar for hydersha

you dont need to use map for this you can simply use an array here is an example. [CODE]#include <iostream> using namespace std; main(){ int array[20]; // loading 20 digits int count [10]={0}; //loading digits for(int i=0; i<20; ++i) cin>>array[i]; //counting for(int i=0; i<20; ++i){ if(array[i]>=0 && array[i]<10) count[array[i]]++; } …

Member Avatar for jonsca
0
858
Member Avatar for Jeronim

I have read a lot of topics with these subject many of theme where on these forum but what ever i try i cant get this working. I have tried 4 or 5 function for converting string to float but i always get compiler error left from xxx must be …

Member Avatar for dusktreader
0
172
Member Avatar for Jeronim

hi! I have created a class with 2 constructors and whenever i try to access it i got the error no match for to call int& here is the code [CODE]class A{ public: A(){}; A(int i); int moj_broj; }; A::A(int i):moj_broj(i){} int main() { A something; cout<<"before "<<something.moj_broj<<endl; something(5); cout<<"after …

Member Avatar for JasonHippy
0
112

The End.