Thread: Urgent help

  1. #1
    Registered User
    Join Date
    Sep 2016
    Posts
    1

    Post Urgent help

    I'm starting in C, i have a good level of C++.

    Its a easy problem:

    I have to do a function that says if a string has letters or everything of the string are numbers. The function is like:

    [/ - int theres_number(char str)]

    [int main(int argc, char* argv[]){]


    If anyone can do it quickly will help me a lot, Thanks.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    If it's such a[n] easy problem, then do it yourself. This forum is not a homework service. Doesn't anyone read the forum rules anymore?
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,687
    If you have a good knowledge in C++, why is this hard for you to
    grasp anyway? Elkvis is 100% correct in his reply, but it baffles me that
    a person who is comfortable with C++ which is much more complex than
    C, struggles with a swap of syntax.
    Double Helix STL

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    3,864
    I suggest writing it in C++; and, then work to turn it into C.
    Do NOT use C++ classes in the C++ program.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Urgent help please
    By bleuz in forum C++ Programming
    Replies: 16
    Last Post: 12-02-2009, 12:07 PM
  2. urgent
    By bestrookie in forum C Programming
    Replies: 11
    Last Post: 04-19-2006, 12:55 AM
  3. Urgent help please...
    By malayneum in forum C Programming
    Replies: 3
    Last Post: 10-24-2005, 06:54 PM
  4. pls help me urgent..
    By intruder in forum C Programming
    Replies: 4
    Last Post: 01-13-2003, 04:41 AM
  5. Please help me (urgent)
    By forfor in forum C Programming
    Replies: 3
    Last Post: 12-05-2002, 03:32 PM

Tags for this Thread