Page 1 of 3 123 LastLast
Results 1 to 20 of 42

Thread: Need serious help!

  1. #1
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default Need serious help!

    ok, I'm placed into a computer science course for freshman year and i'm completely lost on the first class.

    For practice, I'm suppose to make the screen say Hello World but nothing showed.

    I entered the following into visual studio 2005:

    #include <iostream>
    using namespace std;

    int main ()
    {
    cout << "Hello World!";
    return 0;
    }

    Then I pressed F7 and it became a failure

    Help?

    Oh and I can't seem to be able to compile using ctrl+F7
    Last edited by creamcheese007; 09-05-07 at 10:12 PM.

  2. #2
    Senior Member mind_wander's Avatar
    Join Date
    Oct 2004
    Posts
    1,850

    Default

    I entered the following into visual studio 2005:

    #include <iostream>
    using namespace std;

    int main ()
    {
    cout << "Hello World!";
    return 0;
    }

    Then I pressed F7 and it became a failure

    Help?

    Oh and I can't seem to be able to compile using ctrl+F7


    If I remembered correctly, in Programming C. I know what you mean here, its hell for ya. I am not a pro at this dude, highly recommended to ask other Spcnet members with IT experience.

    #include <iostream>
    using namespace std;

    int main ()
    {
    count << "Hello World!";
    return 0;
    }

    In the sequence, you are missing an "N". It can't do the count sequence without an N.

    BTW, if this stuff is not for ya; please change your major.
    Last edited by mind_wander; 09-05-07 at 10:36 PM.
    Check out: http://samthetypist.spaces.live.com/ ; Currently under construction;Check out http://www.soundclick.com/spcnet07 , provided by Sugar.

  3. #3
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    Still don't work

    i didn't pick the major. I'm still undecided, they gave it to me

  4. #4
    Senior Member GuGu's Avatar
    Join Date
    Sep 2006
    Location
    YunJae Heaven
    Posts
    5,161

    Default

    Quote Originally Posted by creamcheese007 View Post
    Still don't work

    i didn't pick the major. I'm still undecided, they gave it to me
    Did you try asking your teacher? If you're really not getting it then you should have a talk with your teacher.

  5. #5
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    He was talking the whole day today. He didn't have a chance to test it out

  6. #6
    Senior Member GuGu's Avatar
    Join Date
    Sep 2006
    Location
    YunJae Heaven
    Posts
    5,161

    Default

    Quote Originally Posted by creamcheese007 View Post
    He was talking the whole day today. He didn't have a chance to test it out
    Do you have his e-mail? Try emailing him. Or try any of the other classmates, maybe they're having the same problem.

    If only that one dude who was good with computer stuff was still here. He might of had been able to help you. *Goes to check out Sparky's signature*

  7. #7
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    He wouldn't give us his email, he said it'll teach us to use the website for announcements. It's like first day i only know i person and he has chem instead

  8. #8
    Senior Member mind_wander's Avatar
    Join Date
    Oct 2004
    Posts
    1,850

    Default

    If you are in independent studies, then I recommended you to drop it first. Since, this is your weakness; focus on the general courses. Then, go on with the hard ones. I hope this help you; alot of independent studies people have the same situational problems like you.
    Check out: http://samthetypist.spaces.live.com/ ; Currently under construction;Check out http://www.soundclick.com/spcnet07 , provided by Sugar.

  9. #9
    Banned SkyKing's Avatar
    Join Date
    Oct 2005
    Location
    Earth?
    Posts
    2,678

    Default

    Quote Originally Posted by creamcheese007 View Post
    He wouldn't give us his email, he said it'll teach us to use the website for announcements. It's like first day i only know i person and he has chem instead
    it's only the 1st day....so nothing to worry.....if it's near midterm and u don't know jack.....i suggest drop the course...lol...

  10. #10
    Banned SkyKing's Avatar
    Join Date
    Oct 2005
    Location
    Earth?
    Posts
    2,678

    Default

    Quote Originally Posted by creamcheese007 View Post
    He wouldn't give us his email, he said it'll teach us to use the website for announcements. It's like first day i only know i person and he has chem instead
    wat kind of professor don't give out email??? lol....look at the syllabus....o go to the department home page, i think his email is up there....

  11. #11
    Senior Member mind_wander's Avatar
    Join Date
    Oct 2004
    Posts
    1,850

    Default

    If its your first week, remember ed drop week; you can dropped it and changed another course without penalty of your course grade.
    Check out: http://samthetypist.spaces.live.com/ ; Currently under construction;Check out http://www.soundclick.com/spcnet07 , provided by Sugar.

  12. #12
    Banned SkyKing's Avatar
    Join Date
    Oct 2005
    Location
    Earth?
    Posts
    2,678

    Default

    Quote Originally Posted by creamcheese007 View Post
    ok, I'm placed into a computer science course for freshman year and i'm completely lost on the first class.

    For practice, I'm suppose to make the screen say Hello World but nothing showed.

    I entered the following into visual studio 2005:

    #include <iostream>
    using namespace std;

    int main ()
    {
    cout << "Hello World!";
    return 0;
    }

    Then I pressed F7 and it became a failure

    Help?

    Oh and I can't seem to be able to compile using ctrl+F7
    how about u take out the word "using"

  13. #13
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    Quote Originally Posted by SkyKing View Post
    wat kind of professor don't give out email??? lol....look at the syllabus....o go to the department home page, i think his email is up there....
    Yea I found his email on the site

    It's just that I never did programming before.

    Who do talk to about dropping? The advisors?

  14. #14
    Senior Member GuGu's Avatar
    Join Date
    Sep 2006
    Location
    YunJae Heaven
    Posts
    5,161

    Default

    Quote Originally Posted by creamcheese007 View Post
    Yea I found his email on the site

    It's just that I never did programming before.

    Who do talk to about dropping? The advisors?
    Normally there's a form you fill out. But counselors/advisors are great help. Get a hold of one of them fast!

  15. #15
    Senior Member
    Join Date
    Feb 2003
    Posts
    6,741

    Default

    i think ur missing the system 'pause" command
    Participate in SPCNET Idol Season 4!!!

    http://www.spcnet.tv/forums/showthre...66#post1127566

    Entries due July 31st, 2016!

  16. #16
    Banned SkyKing's Avatar
    Join Date
    Oct 2005
    Location
    Earth?
    Posts
    2,678

    Default

    Quote Originally Posted by creamcheese007 View Post
    Yea I found his email on the site

    It's just that I never did programming before.

    Who do talk to about dropping? The advisors?
    go online and drop...isn't tat how u sign up for ur class?

  17. #17
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    lol Youtube is great!

    I found out that I started out wrong. I was suppose to start a console app. I chose something else instead

    Thanks for all the help guys

  18. #18
    Senior Member KeongJai's Avatar
    Join Date
    Feb 2004
    Location
    Perth, Australia
    Posts
    1,139

    Default

    I haven't done c/c++ programming since my uni days but that looks like c++ to me. It looks right and should compile with gcc++.

    no such thing as namespaces in C and you'd use printf instead of cout
    also your headers should be something like
    #include stdio.h

    PS: it is cout as in console output not count.

  19. #19
    Senior Member creamcheese007's Avatar
    Join Date
    Sep 2006
    Posts
    375

    Default

    Quote Originally Posted by SkyKing View Post
    go online and drop...isn't tat how u sign up for ur class?
    I didn't sign up for my classes. They just gave it to me. I don't think we freshmans get to choose

  20. #20
    Senior Member MysteriouX's Avatar
    Join Date
    May 2006
    Location
    Empyrean Realm
    Posts
    1,247

    Default

    for one thing, that syntex is for the C language. I don't know if VS2005 still supports those syntex or the newer C++ syntex.

    Also if you want to use those syntex, don't use VS2005, get a Borland C compiler, it works.

    PS: to mind_wanderer >>> the syntex is cout (meaning C_out), not Count. cout is the syntex for character/string output.

    PSS: With visual studio 2005 using Visual C++ CLR Console Application, this is the syntex for a Hello World command line application:

    // HelloWorld.cpp : main project file.

    #include "stdafx.h"

    using namespace System;

    int main(array<System::String ^> ^args)
    {
    Console::WriteLine("Hello World");
    return 0;
    }
    Last edited by MysteriouX; 09-06-07 at 10:04 AM.

Posting Permissions

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