Thread: Need help to identify basic wrong code

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    16

    Need help to identify basic wrong code

    What is wrong with this code; (what type of error is it)

    Int* seed;
    Seed=4;

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Lots and lots, although it's not clear which ones are intended and which ones aren't. Did you mean to capitalize Int and Seed? Those would be compile errors. seed = 4 would then be syntactically correct, but a logic error (in nearly all circumstances).

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    16
    Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 09-06-2009, 01:48 PM
  2. basic code help
    By matt37664 in forum C++ Programming
    Replies: 4
    Last Post: 05-20-2006, 01:40 PM
  3. Basic Code
    By MadCow257 in forum Game Programming
    Replies: 6
    Last Post: 03-01-2005, 05:28 PM