Search:

Type: Posts; User: inkedmn

Search: Search took 0.01 seconds.

  1. and you can dl Thinking in Java from...

    and you can dl Thinking in Java from www.bruceeckel.com :)
  2. Replies
    9
    Views
    2,231

    it appears as though your for loops aren't...

    it appears as though your for loops aren't properly nested...

    you have:


    for(<stuff>);
    for(<more stuff>);


    should probably be:
  3. Replies
    15
    Views
    2,368

    so, are there no access modifiers in C++? in...

    so, are there no access modifiers in C++?

    in Java (my only reference point for C/++ syntax), class members/behaviors have access modifiers, like:



    public class JavaClass {
    private int...
  4. Replies
    15
    Views
    2,368

    i'm a little unclear as to what you mean by the...

    i'm a little unclear as to what you mean by the default access method for a structure. is there another method to set structure values beside either using the "constructor" (or whatever the correct...
  5. Replies
    7
    Views
    3,214

    something like this: void showMe(int i) {...

    something like this:



    void showMe(int i) {
    printf("my number: %d", i);
    }


    basic example (and i don't know if it works) :)
  6. Replies
    7
    Views
    3,214

    a function of type void (this is true in java,...

    a function of type void (this is true in java, i'm assuming it's the same in C), it doesn't return anything.
  7. Replies
    15
    Views
    2,368

    excellent :)

    excellent :)
  8. Replies
    15
    Views
    2,368

    ok, so structures seem like very basic classes...

    ok, so structures seem like very basic classes (i.e., without any behaviours, just attributes). so, something like this...



    #include <stdio.h>

    struct person {
    char name[25];
    int...
  9. Replies
    15
    Views
    2,368

    right on, thanks all... come to think of it,...

    right on, thanks all...

    come to think of it, can anybody give me an example of when it might be appropriate to use a union or structure? AND (:)) when it would be more appropriate to use one or...
  10. Replies
    15
    Views
    2,368

    ok, thanks :) is the same true of unions?

    ok, thanks :)

    is the same true of unions?
  11. Thread: Age?

    by inkedmn
    Replies
    41
    Views
    8,106

    Poll: 24

    24
  12. Replies
    15
    Views
    2,368

    newbie structure question...

    howdy :)

    i'm a python/java guy who's going to attempt to pick up C/C++, and so far it's pretty straightforward. I do have one question regarding structures...

    in all the examples i've seen,...
Results 1 to 12 of 12