Thread: how to make a button,textbox,form in C please help

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    2

    how to make a button,textbox,form in C please help

    i know how to write a code in C but i just think if there's a way to make a visual basic looks in C im a newbie in C anybody can help me please??

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    30
    Study the library "graphics.h" and its functions. there you can make your own button, textbox, form etc in C or C++. Or just study visual c++ 6.0, there you can make your own button, textbox, or form just like you made in visual basic.

  3. #3
    Registered User MacNilly's Avatar
    Join Date
    Oct 2005
    Location
    CA, USA
    Posts
    466

    Windows API

    Quote Originally Posted by wilen
    i know how to write a code in C but i just think if there's a way to make a visual basic looks in C im a newbie in C anybody can help me please??
    Live it. Learn it. Love it.

    But seriously all you need is the win SDK and #include <windows.h>. That's the very basics but it's not to be tackled by someone still a newbie in the C language itself. You gotta build knowledge on top of other knowledge, man.

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    Barebones Win32 API tutorial

    If the code there looks gibberish to you, I suggest you wait a couple months, refine your C skills, and try, try again.
    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;}

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    2
    what is the best book to buy because there's a lot of books out there but they just write a code but they did not explain it like a jargon code im so hungry for the knowledge in c/c++
    but i dont now where to find a good tutorials

  6. #6
    Java and C newbie Xero's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    21
    There is a thread in C Programming Section of this forum that features
    the suggestions of forum members on what books to buy and the like.
    Code:
    Noob - a word used to describe someone like me. (noun)

  7. #7
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by wilen
    what is the best book to buy because there's a lot of books out there but they just write a code but they did not explain it like a jargon code im so hungry for the knowledge in c/c++
    but i dont now where to find a good tutorials
    Isn't internet the best book ever?
    Isn't google your friend?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to make a Packet sniffer/filter?
    By shown in forum C++ Programming
    Replies: 2
    Last Post: 02-22-2009, 09:51 PM
  2. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 12:43 PM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  5. Replies: 6
    Last Post: 04-20-2002, 06:35 PM