As a side question, what language did you do after c++(in terms of learn)?
Thank you for your time
#include <iostream>
#include <string>
int main()
{
std::string str = "Hello world!";
const char* helloWorld = str.c_str();
str = "How are you on this fine day?";
const char* question = str.c_str();
std::cout << helloWorld << "\n" << question << "\n";
}
redefining the str variable, i may be wrong. But i dont cheat
[quote name='fusion1' timestamp='1334678420' post='4932170']
redefining the str variable, i may be wrong. But i dont cheat
I'm sorry if I accidentally started a flame war, but I have never been a member of a forum before
[quote name='fusion1' timestamp='1334694196' post='4932274']
I'm sorry if I accidentally started a flame war, but I have never been a member of a forum before
I can do at least the first washu quiz easily enough. I am not the best c++ programmer in the world though.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more