| vintage88 (3) | |
| everytime i try to do the hello world text i can't get the symbol (") to come up. i have an english (uk) keyboard runnin 64bit windows 7 home premium how can i get round this? i have tried to use the @ button and have looked at english us keyboards and tried it that way but no joy | |
|
Last edited on
|
|
| Copy (10) | |
| What do you mean you cant get it to come up? Theres a key that does ' but when you press shift + ' = " | |
|
|
|
| vintage88 (3) | |
|
i put in cout << "hello world!" and in screen it comes out as cout << hello world ! the program then comes back with 6 errors | |
|
|
|
| chikaibeneme (24) | |
its cout<<"Hello world"<<endl;you have to use ; to close the lin :D | |
|
|
|
| chikaibeneme (24) | |
<<endl is optional but you need ";"
| |
|
|
|
| Copy (10) | |
|
Something to learn is you really need to use semi colons; Try this cout << "Hello World!";
| |
|
Last edited on
|
|
| vintage88 (3) | |
|
thats what im trying to get " " but when i type it on my keyboard nothing happens " doesn't come up on screen | |
|
|
|
| chikaibeneme (24) | |
| Oh you are trying to get ";" but its not appearing on the screen correct? | |
|
Last edited on
|
|
| Copy (10) | |||
In your comment you said your using cout<<"Hello World!"You need cout<<"Hello World!";This is the most common, Hello World. Make sure yours looks similar
If your tutorial is different. I suggest www.cplusplus.com/doc/tutorial | |||
|
Last edited on
|
|||
| cire (1848) | |
|
http://en.wikipedia.org/wiki/Keyboard_layout#United_Kingdom Suggests that shift+2 would be the way to go. You may also want to check Control Panel -> Clock, Language, Region -> Region and Language -> Change keyboards or other input methods From there you can click on Change Keyboards from the Keyboards and Languages tab to see what layout Windows is assuming. | |
|
|
|
| Adiminium (19) | |
| Just press the key to get the Colon ":" without pressing shift to get a Semi-Colon ";" | |
|
|
|