Thread: newbie need some advice

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    7

    newbie need some advice

    Hello am new to this
    i have installed Dev-C++ and made a window application
    now i need someone to point me into the right direction for Buttons & Functions

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    You should start with a console application. It's better for learning the basics like conditional statements, loops, classes, etc...
    Sent from my iPadŽ

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    7
    oh well watching C++ Programming Training now =)
    http://www.computer-training-software.com/c.htm

  4. #4
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    I'm convinced these are the worst tutorials ever created.

  5. #5
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

  6. #6
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    ...am new to this... and made a window application...
    There are no windows or graphics in ANSI/ISO Standard C++. All this is done with additional libraries and is "above and beyond" the underlying language. Not a problem for your compiler... Dev-C++ uses the WinAPI library.

    But, there's still a lot to learn. Most people spend a few months to a year or more learning standard C++ before moving-on to Windows programming (or some other specialty topic).

    In any case, you need to know what is standard and what is specific to a particular platform/library.

    If you want to write Windows programs from day-one, there's always Visual BASIC.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie variable advice
    By 182 in forum C++ Programming
    Replies: 12
    Last Post: 02-15-2006, 06:08 PM
  2. Advice for newbie...
    By CompiledMonkey in forum C Programming
    Replies: 2
    Last Post: 06-12-2003, 06:18 PM
  3. newbie needs advice!
    By bluenoser in forum C Programming
    Replies: 24
    Last Post: 10-16-2002, 07:28 PM
  4. newbie needs some advice
    By werdy666 in forum C++ Programming
    Replies: 0
    Last Post: 09-15-2002, 10:56 PM
  5. Newbie: Seek advice
    By gogo in forum C++ Programming
    Replies: 4
    Last Post: 11-06-2001, 10:04 AM