Search:

Type: Posts; User: nosil

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    5,911

    Read about functions and how they work for...

    Read about functions and how they work

    for exemple: Functions in C Programming - C and C++ Programming Resources

    In your code, try to see what can you put in a function and apply what you've...
  2. Replies
    12
    Views
    1,311

    Solved, was a problem with the #includes, just...

    Solved, was a problem with the #includes, just had to put them right and now everything works like a charm...

    Thanks everyone for the kind help,

    -NoSila
  3. Replies
    12
    Views
    1,311

    Yes i know that, but at least is the most...

    Yes i know that, but at least is the most approximate OO i can get at least, in terms of encapsulation and data hiding...

    Hum ok gonna change that ;) I did that thinking that those typedef's would...
  4. Replies
    12
    Views
    1,311

    Yes, that always works but when i try to use 2...

    Yes, that always works but when i try to use 2 typedef's of incomplete type structs that i created, it gives-me error


    Tried to typedef both structs in the header where i use them, and it works,...
  5. Replies
    12
    Views
    1,311

    Incomplete types as abstractions...

    Incomplete types as abstractions

    That way you hide the struct implementation from the other codefiles, they have to use the functions to get the struct values, so... this is how i learn you could...
  6. Replies
    12
    Views
    1,311

    Sorry, forgot to change that, i do that in the...

    Sorry, forgot to change that, i do that in the Paint.h ...

    Or are you saying i have to typedef it in every place i use that type???
  7. Replies
    12
    Views
    1,311

    But i'm including Main.h wish is including paint...

    But i'm including Main.h wish is including paint And car so, shouldn't all the codefiles have acess to all the typedef's ??

    Also, i've tryed that in my project (including only the headers i used)...
  8. Replies
    12
    Views
    1,311

    OOP with Incomplete types problem

    Hi,

    I'm new here but i've used this forum since i've started programing in C some month ago (btw, my nick is nosila, can a moderator / admin change that please? My bad), i have a school project to...
Results 1 to 8 of 8