Forum: C++ Oct 24th, 2008 |
| Replies: 5 Views: 430 What wrong with this code?
#include <sstream>
#include <string>
using namespace std;
int main()
{
string a = ":)";
string b = "John"; |
Forum: C++ Oct 24th, 2008 |
| Replies: 10 Views: 1,003 |
Forum: C++ Oct 24th, 2008 |
| Replies: 10 Views: 1,003 I created project but it shows:
->header files:
stdafx.h
targetver.h
->Source files:
stdafx.cpp
test2.cpp
Why so many files in project if I need compile 1 file and I dont need that... |
Forum: C++ Oct 24th, 2008 |
| Replies: 10 Views: 1,003 What project I need to create for simple c++ consule program? |
Forum: C++ Oct 24th, 2008 |
| Replies: 10 Views: 1,003 what project if I need single file (consule aplication) |
Forum: C++ Oct 24th, 2008 |
| Replies: 10 Views: 1,003 I have one *.cpp file but I cant it compile with MS VC++ ! How to compile signle .cpp file in VC++? Please help me! |
Forum: C++ Oct 6th, 2008 |
| Replies: 6 Views: 664 Can you please tell me what editor/compiler you use?! |
Forum: C++ Oct 6th, 2008 |
| Replies: 6 Views: 664 What compiler use to compile your code, I cant compile with gcc
Compiling: C:\Documents and Settings\a\Desktop\str.cpp
C:\Documents and Settings\a\Desktop\str.cpp:2:2: invalid preprocessing... |
Forum: C++ Oct 6th, 2008 |
| Replies: 6 Views: 664 Hi!
Can anybody please help me to add many strings in one?
I tryied this
int a=4,b=5,c=6;
string d;
d = #a+" Hello "+#b+" bye "+c;
I want that d = 4 Hello 5 bye 6
Please help me! |