Search:

Type: Posts; User: Frankie15

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    10,374

    Thanks! Check my edit regarding printing the two...

    Thanks! Check my edit regarding printing the two extra 20's.

    It does print out the same values every time. I may have missed the 70 one time.
  2. Replies
    8
    Views
    10,374

    I'm sorry! I totally missed where you said how it...

    I'm sorry! I totally missed where you said how it could be random.

    What I don't understand is how it is fair to be tested on what the output is if they are always random.

    I think I understand...
  3. Replies
    8
    Views
    10,374

    I don't understand because when I run the program...

    I don't understand because when I run the program it prints the following:

    y=20
    y=30xxx@xxx-VirtualBox:~/program$ y =20
    y=30
    y=20
    y=70 y= 20
    y=70

    You said it prints out 20 twice during the...
  4. Replies
    8
    Views
    10,374

    Understanding fork() example

    Hello all! I have been trying to figure out how this works for the past 5 hours and I cannot figure out exactly what is going on. I understand that it will begin by printing out 20 and then 30 for...
  5. Replies
    14
    Views
    8,974

    Elysia, Are you saying its worthwhile to...

    Elysia,

    Are you saying its worthwhile to continue to pursue Computer Science despite my apprehensions about being a programmer when I graduate? Sometimes it seems as if I am having a mild panic...
  6. Replies
    9
    Views
    4,389

    I am still confused on how to do this. We haven't...

    I am still confused on how to do this. We haven't learned strlen yet so I don't believe we can use it.

    The program has to run exactly like I have listed (Enter message...then enter shift...then...
  7. Replies
    9
    Views
    4,389

    What would I put in place "aSize" in the first...

    What would I put in place "aSize" in the first for loop? char n must have a size of 80 since the character must be less than 80 characters, correct?

    The only way I can get this to work is to know...
  8. Replies
    9
    Views
    4,389

    Letter user determine the size of an array?

    Hello all,

    I am working on a program called Caesar Cipher which encrypts messages by increasing each character by a value determined by the user (key). It will also roll over if the key rolls over...
  9. Replies
    14
    Views
    8,974

    One thing I do have to admit is this. When I am...

    One thing I do have to admit is this. When I am working on something minor (like right now), one of the best feelings is when you finally figure out how to get the program to do exactly what you want...
  10. Replies
    14
    Views
    8,974

    Thanks for the advice guys. I appreciate it very...

    Thanks for the advice guys. I appreciate it very much.

    Is a programmer the only job I can really get with a CS degree? This uncertainty I am facing is somewhat stressing me out. I would hate to...
  11. Replies
    14
    Views
    8,974

    Lost and confused Computer Science Student

    Hello all!

    Here is a little background information on me. I transferred from a local CC because I was unsure of what I wanted to major in. I always excelled at and enjoyed my computer classes in...
  12. Thanks for the tables quzah and anduril. I think...

    Thanks for the tables quzah and anduril. I think I understand it. It does much more than I originally thought it did.

    Really appreciate the quick responses. You guys were very helpful!
  13. Can someone please explain this array sorting program?

    #define _CRT_SECURE_NO_WARNINGS#include <stdio.h>


    int main()
    {
    int i,j;
    double a[9];


    printf ("This program determines the middle value\n");
  14. Replies
    4
    Views
    5,328

    Thanks for the link as well. I will use that to...

    Thanks for the link as well. I will use that to review for sure.

    Thanks again for your help. Appreciate you taking the time to do so! :)
  15. Replies
    4
    Views
    5,328

    Thank you SO much anduril. Ok, I used %lg and...

    Thank you SO much anduril.

    Ok, I used %lg and %g (ignore code in updated original post. I thought it may have been lf instead of lg so I updated.)
    Using %g instead of %lg worked PERFECTLY....
  16. Replies
    4
    Views
    5,328

    scanf() and doubles?

    I am having an issue with the following program. This is just a simple program that calculates the surface area/volume of a cylinder. For some reason this executes JUST fine in CodeBlocks. Everything...
Results 1 to 16 of 17