Search:

Type: Posts; User: caroundw5h

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds; generated 38 minute(s) ago.

  1. Replies
    8
    Views
    1,064

    maybe it would help to think of it this way: ...

    maybe it would help to think of it this way:



    function do_something(arg1, arg2){
    if (true):
    do_this()

    else: //if false
    do_that()
  2. Replies
    3
    Views
    12,185

    which means the problem probably has to do with...

    which means the problem probably has to do with the statements before - since your printf() is called correctly. You may find this link helpful in the future. I find it handy.
  3. Replies
    17
    Views
    5,193

    Why do you want a certification exactly? Honestly...

    Why do you want a certification exactly? Honestly open source work on projects will get you further than having a certification, in my experience and IMHO. Go work on one of those and building you...
  4. Ahh the popular phrase is "School is a place...

    Ahh the popular phrase is "School is a place where former A students teach mostly B students to work for C students"

    As for your question, google is your best friend in this. However you can also...
  5. Replies
    21
    Views
    21,472

    One of my favorite quotes is by the mathematician...

    One of my favorite quotes is by the mathematician Morris Kline He says "When the concrete cases are understood, the abstractions are readily made" I live by this quote and would highly suggest If you...
  6. Replies
    19
    Views
    3,125

    Are you saying his code was easier to read or...

    Are you saying his code was easier to read or yours? I've come across the use of the ternary operator like this a number of times in production code and it irritates the hell out of me. Even if it is...
  7. Thread: while loop

    by caroundw5h
    Replies
    9
    Views
    1,126

    We all were at one point and if you're paying...

    We all were at one point and if you're paying attention you realize you learn something new everyday. C is a succint language but has many subtleties that can lead to unintended consequences. The...
  8. Replies
    7
    Views
    1,752

    ...and seemingly from Harvard University no less....

    ...and seemingly from Harvard University no less. smh. Wow.
  9. Thread: while loop

    by caroundw5h
    Replies
    9
    Views
    1,126

    alternatively #include int...

    alternatively

    #include<stdio.h>

    int main(void){
    int num;
    int counter, total;

    total = counter = 0;
  10. the prototypes are there for what laserlight...

    the prototypes are there for what laserlight said. As well another usage is so that your compiler knows exactly how much space to allocate based on the types you give as arguments. If you don't want...
  11. Replies
    5
    Views
    2,524

    seems like you are familiar with pointers though...

    seems like you are familiar with pointers though so I'm assuming you've also done functions. If so, consider making your program more modular and creating functions to find the given string and such....
  12. remove as it's a non standard...

    remove
    <conio.h> as it's a non standard header. As well remove your call to
    getche() and simply call
    getchar();

    you may need a few more calls to getchar() - i haven't ran your code - or...
  13. Replies
    19
    Views
    2,626

    Doesn't look like he's expecting any command line...

    Doesn't look like he's expecting any command line arguments so it might be better to simply
    int main(void){...}
    As well main always returns an int.
  14. Replies
    18
    Views
    14,311

    I know there are windows versions for GTK+, is...

    I know there are windows versions for GTK+, is there one for QT and Fltk? I noticed the OP said he was on windows 7.
  15. Replies
    20
    Views
    2,317

    I can't help but wonder if this user isn't in the...

    I can't help but wonder if this user isn't in the same place where all the outsourcing is going, threatening real programmers jobs.
  16. Thread: structures

    by caroundw5h
    Replies
    4
    Views
    809

    You need to indicate to your input statements...

    You need to indicate to your input statements which struct in the array you want to populate with the information. So give your scanf statement an index.

    Also check your for loop. You declare an...
  17. Replies
    8
    Views
    1,600

    Yaswanth, No one on the board will write this...

    Yaswanth, No one on the board will write this program for you but it is possible to write a program that does what you're looking for. Choose the language you're comfortable with and take it from...
  18. Replies
    6
    Views
    1,735

    Actually no, what's probably best is for you to...

    Actually no, what's probably best is for you to post code and show us you've actually took steps towards solving your problem.

    A quick check on your posts shows the majority of them related to...
  19. Replies
    24
    Views
    2,757

    From the comment in your code, it seems these may...

    From the comment in your code, it seems these may be practice exercises? if so I'd suggest attempting to solve the problem with the knowledge you've been taught up till now - from the book. The...
  20. Replies
    6
    Views
    3,865

    It's been sometime since I coded in C but...

    It's been sometime since I coded in C but assuming he does exactly as u say, he would be leaving scanf to expect a int and then store it in space reserved for a double...this would still not produce...
  21. Replies
    11
    Views
    6,315

    exactly. not necessarily. All the compiler...

    exactly.

    not necessarily. All the compiler needs to know is the address of the first element of the array, and again the name of an array is the address of the first element in that array.
    ...
  22. Replies
    11
    Views
    6,315

    An array is a block of contiguous memory -...

    An array is a block of contiguous memory - meaning your most likely going to have more than one element in that array. Secondly, the name of an array is the address of the first element in that...
  23. Replies
    11
    Views
    6,315

    jackson6612, your error message is an indication...

    jackson6612, your error message is an indication as to what's wrong with your logic in the code.

    in the prototype for display:
    void display(Student dummystud[]);
    you tell display to accept an...
  24. Replies
    39
    Views
    4,893

    lol. this really gets me mavado. But I understand...

    lol. this really gets me mavado. But I understand where you're coming from so I'll help you out.


    most modern languages that are in use today were made using C. These include C++, Java,...
  25. Replies
    18
    Views
    2,342

    Hahaha that was a great comment. I

    Hahaha that was a great comment. I <3 that.

    Anybody see a problem with it now?...no?...kay.
    I'm done :)
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4