Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~819 People Reached
Favorite Tags
Member Avatar for OrangeTree

Hi everyone :). **Strange situation** with this code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <div align="center"> <div style="width: 500px; background-color: blue"> <div style="width: 200px; float: left"> <p>Some text.</p> </div> <div style="width: 210px; float: right"> <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/13/DuskyDolphin.jpg/220px-DuskyDolphin.jpg" alt="Dolphin"> </div> </div> </div> </body> </html> Display in **IE** (9) is …

Member Avatar for OrangeTree
0
186
Member Avatar for OrangeTree

Hello :). How can I fix this? Yes, I can write 2 functions (with and without parameter) ... but what is bad there? #include <cstdlib> #include <string> #include <iostream> using namespace std; class CClass{ public: void foo(string & s = "default"); // COMPILE ERROR string backup; }; void CClass::foo(string & …

Member Avatar for OrangeTree
0
152
Member Avatar for OrangeTree

Hi :). I use this code to create a file: #include <cstdlib> #include <fstream> using namespace std; int main () { ofstream file("main/articles/giraffe/article.txt", ios::out); file.close (); return 0; } How can I simplify **create path of folders** (on **unix system**) "main/articles/giraffe/" - if folder "main" doesn't exist? With using standard …

Member Avatar for OrangeTree
0
240
Member Avatar for OrangeTree

Hi :). I don't found good examples for function sscanf(). Can you help me please with this situation? #include <cstdio> #include <iostream> using namepsace std; int main(int argc, char const *argv[]) { string way = "main/articles/animals/giraffe"; char arr[256]; char arr2[256]; sscanf(way.c_str(), "%[^'/']/", arr); cout << arr << endl; return 0; …

Member Avatar for OrangeTree
0
241