Thread: srtings and array(where is the my fault)

  1. #1
    Registered User
    Join Date
    Mar 2015
    Posts
    2

    srtings and array(where is the my fault)

    where is the my fault
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    Do you mean other than not posting your code inside the post instead of in an attachment?

    Or is there some kind of problem with your code?

    Why did you post a "C++" program in the C forum?

    Jim

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    I echo Jim's sentiments.

    Read How To Ask Questions The Smart Way (don't take the title too personally). Following the guidelines there will make sure you get the most out of your forum experiences.

    Then, tell us what errors you are seeing. Are they compiler errors? Make sure to copy-paste them exactly, with corresponding line numbers. Runtime errors? Does it crash? Do you get no/incorrect output? What input are you giving it? What output do you expect to see for that input?

  4. #4
    Registered User
    Join Date
    Sep 2014
    Posts
    364
    The main-function returns an integer, but there is no return-statement in your code.
    Is that what you mean?
    Other have classes, we are class

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2d array segmentation fault
    By Max2011 in forum C Programming
    Replies: 1
    Last Post: 05-21-2011, 10:30 AM
  2. Segmentation fault while using 2D array
    By Damon Dike in forum C Programming
    Replies: 7
    Last Post: 04-03-2010, 08:23 AM
  3. Sort array seg fault
    By swgh in forum C++ Programming
    Replies: 3
    Last Post: 12-24-2008, 01:28 PM
  4. Segmentation fault with array?
    By whiphub in forum C++ Programming
    Replies: 1
    Last Post: 09-12-2004, 01:51 PM
  5. Array of srtings
    By DirX in forum C++ Programming
    Replies: 3
    Last Post: 09-11-2002, 11:52 AM