Thread: i know this is a bit stupid but i don't kow the answer so help please

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    18

    i know this is a bit stupid but i don't kow the answer so help please

    what is the programming languages syntax , could i have a simple answer please i've only been programming with c++ a few days and i don't remember the sytax definition for qbasic,

    sorry for asking such a easy question but i don't know the answer so help please,

    from joe ^.^
    The woundeful Joseph Goss,,,
    e-mail me "[email protected]"
    if you want
    Ermmm,,... hello anyone there?
    i am 15

  2. #2
    root
    Join Date
    Sep 2003
    Posts
    232
    >what is the programming languages syntax
    Rules for how the language is to be used and what is legal.
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Originally posted by twm
    >what is the programming languages syntax
    Rules for how the language is to be used and what is legal.
    Why do I get the feeling this isn't what he meant to ask?

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    neither do i, but:

    my teacher pounded it into our heads... it's 5 and only 5 words...

    The rules of the language
    anything else we put she would mark wrong...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #5
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Here's a definition from FODOC

    This is correct syntax for C++, but incorrect syntax for C, or BASIC:
    cout << "Hello World" << endl; // Display Hello World

    This is correct syntax for BASIC, but incorrect for C++:
    PRINT "Hello World" ' Display Hello World

    If your program has a syntax error, it won't compile, because the compiler can't understand the code. Other errors (such as logical errors) may allow the program to compile, but the program may not run as expected (bugs).

    Or, a tax on tobacco or alcohol!

    Suggestion: Your title should have said "syntax" - see the board guidelines & hints.
    Last edited by DougDbug; 10-29-2003 at 01:27 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. A Question About Unit Testing
    By Tonto in forum C++ Programming
    Replies: 2
    Last Post: 12-14-2006, 08:22 PM
  3. code help :)
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 02-28-2002, 01:12 PM
  4. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM