[color="Lime"]//Title of program[/color]
[color="Sienna"]#include "stdafx.h"[/color]
main()
string varName;
varName = "yourname"
cout << "What is your name?" << endl;
cin >> varName;
cout << "Hello " << varName << "!";
TheMewster (post: 1505309) wrote:1. I thought ReactOS was illegal.
2. I've actually wanted to make an OS but I've never gotten around to learning programing. I can make text bold, italic, and underlined, I might be able to make a paragraph, but that is likely it. I have a lot of ideas though so PM me!
Warrior4Christ (post: 1505551) wrote:Furen, close, but you forgot the curly braces and return type of main:
[code]
[color="Lime"]//Title of program[/color]
[color="Sienna"]#include "stdafx.h"[/color]
int main()
{
string varName]
(And what's stdafx.h? Shouldn't it be iostream?)
blkmage (post: 1505594) wrote:Well, that's just the kernel, right? And MINIX is a microkernel, so of course it's going to be tiny in comparison to everything else that's currently in use.
Furen (post: 1505622) wrote:Ach, I forgot the curly brackets... also, my school had some weird thing that wouldn't let our computers run unless I wrote in stdafx.h but I could run it without iostream, though I usually had it in and everything
Thinking on it though, I forgot to import string.h too
Dante (post: 1506294) wrote:Eventually though, I did get it to work inside so my mother can surf the net without having to worry about viruses too much. Sadly, the machine still isn't perfect - it displays a pair of green lines across the monitor (something gone wrong in the graphics component of Unbuntu) and it does occasionally freeze on her. But for a 9-10 year old computer, it isn't half bad.
ABlipinTime (post: 1506437) wrote:I used PenDrive Linux to install Ubuntu on my computer. It seemed to work fine, though ironically I did discover that only the intel x86 version would work with my AMD processor. lol
Warrior4Christ (post: 1506524) wrote:"Intel x86" (32-bit) and "AMD64" (64-bit) are the processor architectures (so yes, Intel and AMD both make x86 and AMD64 processors). I guess your processor is just 32-bit then (it is old?).
Kaligraphic (post: 1506306) wrote:You... kind of can, but I don't think that's what Mew was talking about. Still, when dealing with technology, rather than saying "God doesn't want me to have this," a more correct approach would be "I may not be doing this correctly. I should do more research and/or ask somebody."
Mew, I'd suggest that you have someone who knows what they're doing help you, especially if it's your first time installing Linux.
ABlipinTime (post: 1506437) wrote:I used PenDrive Linux to install Ubuntu on my computer. It seemed to work fine, though ironically I did discover that only the intel x86 version would work with my AMD processor. lol
TheMewster (post: 1507296) wrote:This IS my first time installing Linux. Now should I try this again? It wouldn't go to my blank CD, so obviously there must be divine intervention. I need to be careful with this especially because if it is God intervening I must respect that. Then again if I try again it wouldn't work period if it is divine intervention.
TheMewster wrote:What is the BIOS screen?
Users browsing this forum: No registered users and 116 guests