Search:

Type: Posts; User: dustynlily

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    3,415

    Ok, this is driving me crazy now. Got to a...

    Ok, this is driving me crazy now. Got to a different computer. No debugging errors and the output numbers are at least all different from one another, but the counter is still way off. What am I...
  2. Replies
    11
    Views
    3,415

    Ok, thanks. I will try to find another computer...

    Ok, thanks. I will try to find another computer to run it on.
  3. Replies
    11
    Views
    3,415

    11498

    11498
  4. Replies
    11
    Views
    3,415

    With that update, I am getting "Debug Assertion...

    With that update, I am getting "Debug Assertion Failed: Expression: (unsigned)(c+1)<=256" and "Error: a value of type "void*" cannot be used to initialize an entity of type "char*"
  5. Replies
    11
    Views
    3,415

    #include #include...

    #include<stdio.h>
    #include<stdlib.h>
    #include<ctype.h>
    #include<string.h>

    int main(void)
    {
    char *sentence = malloc(256);
    char tmp=toupper(sentence[counter]);
    int counter=0;
  6. Replies
    11
    Views
    3,415

    Yes I have it as else if in my code, not sure why...

    Yes I have it as else if in my code, not sure why it lost the space in the cut-pase process. All my indentation in fine in my program, too. Another loss to the cut-paste process. Sorry for the...
  7. Replies
    11
    Views
    3,415

    Program to count parts of a sentence

    I am trying to write a code that will count the parts of an inputted sentence (vowels, alpha, and keystrokes). I am not getting any errors when I debug, but my calculation keeps coming up identical...
  8. I figured it out. Thanks everyone for your help!...

    I figured it out. Thanks everyone for your help! :) Can't believe I have my first completed program!!! :)
  9. The problem seems to have spontaneously rectified...

    The problem seems to have spontaneously rectified itself when I posted from a different computer. There were no internal curly braces in my post. You can see me failed first attempt to post and my...
  10. Ok, I'm back with more questions....

    So I have all of the error messages cleared, the program compiles, and its working 99% how I want it to. There are just two small things I am trying to get the program to do that I am having trouble...
  11. Thanks everyone for your help. I'm going to try...

    Thanks everyone for your help. I'm going to try to tweak it some more with all of your input and see what happens. Cross your fingers for me and pray that I never have to program something more...
  12. Line 49, else (blah) should be else if (blah)...

    Line 49, else (blah) should be else if (blah)
    Okay, this one I understand and fixed...

    Line 68, you're assigning 0 to a variable instead of comparing it.
    How do I get it to compare then...
  13. #include int main(void) {...

    #include <stdio.h>


    int main(void)

    {
    double metal_rod_length_cm; //length of each individual metal rod
    double length; //temporary storage for normal length rods entered

    int...
  14. that got lost in all the copying and...

    that got lost in all the copying and pasting....sorry...that is there on my screen. good catch though. wish it were that simple! :)
  15. There, somehow I could post the code as a reply...

    There, somehow I could post the code as a reply but not as part of my original text. Go figure!
  16. #include int main(void) { double...

    #include <stdio.h>

    int main(void)

    {
    double metal_rod_length_cm; //length of each individual metal rod
    double length; //temporary storage for normal length rods entered

    int normal_count;...
  17. Help figuring out problem with my first C program

    I am attempting to write a program (for school) that will accept data about the length of metal rods and sort them into three categories (too long, too short, and normal), tally up the overall...
  18. Screenshot to show that i have the codes in there right, but still not working :(

    11370
  19. Trying to post code to discussion board, having problems...anyone else?

    I am trying to post some code to the discussion board (in another area specific to the type of code) to receive help/feedback, and it keeps giving me the error that I need to put the code tags around...
Results 1 to 19 of 19