Page 2 of 2 FirstFirst 12
Results 41 to 68 of 68

Thread: Os?

  1. #41
    Banned
    Join Date
    Oct 2005
    Posts
    22

    Re: Os?

    spin soem? what is that?

    he has some code i can give you. he asked me to port it fro him, nearly finished

    public Class UserInput
    {
    public static double GetUserNum(string prompt double def, double lower, double upper, bool include, bool AllowErrMsg)
    {
    string temp;
    double test = 0;

    Console
    temp = Console.ReadLine();

    {try

    test = double.Parse(temp); //convert the string into a double
    }
    catch(Exception e)
    {
    if(AllowErMsg)
    {
    Console.Writ testtesttesreturn ttesttesttest;
    else
    {
    //if the user's number is out of range
    if()
    Console.WriteLine("That number is outside the program's operational parameters. The range of acceptable input is: {0} - {1}.\nDefaulting to {2}.", lower.ToString(), upper.ToString(), def.ToString());

    return //exit with default result
    }
    }
    else /*the OK range is outside lower to upper
    {
    if((test < lower) || (test > upper)) //if user outside the EXclusion zone
    retu
    //if the user's number is out of range
    if(AllowErrMsg)
    Console.WriteLine("That number is outside the program's operational parameters. The range of illegal input is: {0} - {1}.\nDefaulting to {2}.", upper.ToString(), lower.ToString(), def.ToString());

    return def; */exit with default result
    }

  2. #42
    Banned programmer_boy's Avatar
    Join Date
    Sep 2005
    Location
    Netherlands
    Posts
    26

    Re: Os?

    Eh, ok. What did you port it from? Binary code?

  3. #43
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Os?

    I don't live here any more.

  4. #44
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Os?

    wha? that doesn't make any sense... What's it written in? QB#++.NET?

  5. #45
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854

    Re: Os?

    A good basis for building unix apps is python, if you want to work at your own OS you might as well make your own programming language to accompany it.
    Start With Python
    Then Goto Assembly
    Then Work On File Structures

    The rest is over my head, I wouldnt know how to get it to read the hardware properly, then read and write properly, search properly. Have it read on board components like ram, get the video card to read properly so you can even SEE.

    Honestly your tutor sounds like an idiot. Linux shell isnt that hard, and the fact that he says all unix was programmed in QBasic is retarded. QBasic like thatoneguy said is an Intel based application...

    So why does RedHat, Solaris(Sun processing), Whoppix, KnoppixSTD, SUSE, etc... run on Intel and AMD based processors?

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  6. #46
    Banned
    Join Date
    Oct 2005
    Posts
    22

    Re: Os?

    My tuter is no idiot, he taught me to write a "Hello World' program today. He remember all the code in his head and typed itall in at one try, did not even crash first time .

  7. #47
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Os?

    What you mean... like this ??

    Private Sub Form_Activate()
    Me.Print "Hello World"
    End Sub

    Indeed he is a super-coder...
    Zeegnahtuer?

  8. #48
    Banned
    Join Date
    Oct 2005
    Posts
    22

    Re: Os?

    me.print doesn't work for me, he didnt do it like this.

    he used a massagebox.show(hello world")

  9. #49
    Fanatic Member
    Join Date
    May 2005
    Posts
    898

    Re: Os?

    Who's alt are you?
    "so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman

  10. #50
    Banned
    Join Date
    Oct 2005
    Posts
    22

    Re: Os?

    pardon?

  11. #51
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    Re: Os?

    Quote Originally Posted by vbcooler
    in what lenguage do you build an operation system?
    does any1 knows on any really googd links to sites that got lots of info about how can i build my own os? i know it might take hard work but i really want to try any ideas links? thx
    You have to realize that pretty much all languages (that are not JIT or Scripting), are compiled to binary.

    You can use assembly (the lowest level language, which is basically a symbolic representation of the actual step by step CPU calculations), to make an OS if you're good enough.

    But to answer your question, I would imagine mostly C and C++.
    "I like to run on treadmills, because at least I know I'm getting nowhere."
    - Me

  12. #52
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Os?

    JIT compilers do compile to binary, just in time as it were.

  13. #53
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Os?

    Quote Originally Posted by ~teh_pwn3rz~
    whatever

    When i pass this class ill know more tahn you. but now I need to begin leasrning the codes for writting things on the cosole window then i can write a cool program like grep and then seach all the file.
    I think I just passed an elephant, and I know one thing.....
    My usual boring signature: Nothing

  14. #54
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Os?

    Anyone that knows the first thing about a language can write a Hello World app.
    I did it with Net the first day I tried. I used a messagebox, and was told that it was not a traditional app as it didn't write to a console window.

  15. #55
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Os?

    Quote Originally Posted by dglienna
    Anyone that knows the first thing about a language can write a Hello World app.
    I did it with Net the first day I tried. I used a messagebox, and was told that it was not a traditional app as it didn't write to a console window.
    Its the only code i know in VB.NET

    VB Code:
    1. MessageBox.Show("Hello World","Hello World", System.Windows.MessageBoxButtons.Ok)
    Zeegnahtuer?

  16. #56
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Os?

    was it hello world app or was it
    as a 'OS' dos hell world?
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  17. #57
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Os?

    Quote Originally Posted by thegreatone
    Its the only code i know in VB.NET

    VB Code:
    1. MessageBox.Show("Hello World","Hello World", System.Windows.MessageBoxButtons.Ok)
    That's one big reason why I hate .NET. Too much freaking typing/seaching for commands. I can do that in VB6 a whole lot faster and shorter:

    VB Code:
    1. MsgBox "Hello World", vbOk, "Hello World"

  18. #58
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Os?

    Even with that, the OK button is default,so you don't even need it...

  19. #59
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: Os? theGreatOne

    ThegreatOne

    THATS WAY UNFAIR!!!!!!!!

    TAKE IT OFF!!!!!!!! AND I DONT MEAN YOU F**KIN CLOTHES EITHER..

    NOT FUNNY....
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


  20. #60
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: Os?

    M$ will crush you before you even started

  21. #61
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    Re: Os?

    Quote Originally Posted by ~teh_pwn3rz~
    My tuter is no idiot, he taught me to write a "Hello World' program today. He remember all the code in his head and typed itall in at one try, did not even crash first time .
    No your tutor is verifiable genius. What primary school do you go to?
    "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein

    It's turtles! And it's all the way down

  22. #62
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Os?

    Quote Originally Posted by Jacob Roman
    That's one big reason why I hate .NET. Too much freaking typing/seaching for commands. I can do that in VB6 a whole lot faster and shorter:

    VB Code:
    1. MsgBox "Hello World", vbOk, "Hello World"
    We all eagerly await the beautiful and elegant solution to this problem that LF will bring.

    how about a

    Code:
    HWMsgBox
    command

    Hey!! VBF needs [LightFusionCode]...[/LightFusionCode] tags
    I don't live here any more.

  23. #63
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Os?

    spot the deliberate mistake.

    So you plan on implementing OOP without a hierarchical class system? That will certainly rock the programming world to the core, damn JR you must be a serious Nobel candidate
    Attached Images Attached Images  
    I don't live here any more.

  24. #64
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    Re: Os?

    OOP is for idiots, girls, and noobies.
    "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein

    It's turtles! And it's all the way down

  25. #65
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Os?

    oop is the future, it was designed by qbasic

  26. #66
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    Re: Os?

    'oop' is a subset of 'oops' which says it all really
    "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein

    It's turtles! And it's all the way down

  27. #67
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Os?

    Oh YEAH!! Well VB is BV backwards so there.

    pwnd.

  28. #68
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Os?

    Yea What He Said :-/

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width