Thread: Help!!!!

  1. #46
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by starvinmarvin
    dude just tell me what i need to write to get it to print the frequency..im tired of working on this
    We do not normally hand out homework answers. If you are getting tired, take a break or work on some other subject, and come back to work on the problem later.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #47
    Registered User
    Join Date
    Oct 2008
    Posts
    46
    i cant its due in like 6 hours, so ok i tried to initalize the arr at the beginnin of the count, it didnt work, after the count, and i still get like 30 numbers that are just long numbers.

  3. #48
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by starvinmarvin View Post
    dude just tell me what i need to write to get it to print the frequency..im tired of working on this
    Dude. I already did. Put
    Code:
    = {0};
    after the int arr[95] where I had it in the purple. Just freakin' do it.

  4. #49
    Registered User
    Join Date
    Oct 2008
    Posts
    46
    haha hell ya...i didnt put the brackets in the first time..thanks so much man

  5. #50
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by starvinmarvin View Post
    i cant its due in like 6 hours, so ok i tried to initalize the arr at the beginnin of the count, it didnt work, after the count, and i still get like 30 numbers that are just long numbers.
    Then fail.
    You are obviously not deserving to complete this course if you cannot understand what you are doing.
    It seems to me like you don't know much of what you are doing and are trying to rely on everyone else to provide you the answers, which admittedly, you don't understand much of either.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed