Thread: Data types and tokens .cpp

  1. #31
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    not so easy
    i have created
    stringprocessing.c
    add.h
    main.c

    add them to project and targeted the library
    then it wants to have a host application

  2. #32
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    I'll work on it some more
    and let you know if i get anywhere

  3. #33
    Registered User
    Join Date
    May 2012
    Location
    Arizona, USA
    Posts
    469
    Quote Originally Posted by AutoIt Addict View Post
    looks like the scanf function is working
    Code:
    scanf("%s", cArray[40]);
    This scanf call is incorrect. scanf expects a pointer to char but you passed in a char (the character 'n', to be exact). Turn on all compiler warnings and see it complain about this line. You should learn what all warnings mean and correct them before trying new things.

  4. #34
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    thanks man what you said just said fixed it
    Last edited by AutoIt Addict; 07-23-2012 at 07:15 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Types
    By Sn0wcra5h in forum C Programming
    Replies: 1
    Last Post: 01-19-2010, 10:33 PM
  2. data types types...
    By gftmc in forum C++ Programming
    Replies: 3
    Last Post: 09-11-2006, 12:30 PM
  3. data types
    By 182 in forum C++ Programming
    Replies: 10
    Last Post: 02-18-2006, 05:24 AM
  4. data types
    By Draco in forum C Programming
    Replies: 7
    Last Post: 06-05-2002, 04:26 AM
  5. data types
    By wazilian in forum C Programming
    Replies: 1
    Last Post: 12-07-2001, 01:52 PM
Website Security Test