Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32
  1. #21
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1

    Quote Originally Posted by darkhero View Post
    limited ang features sa C? sure uy. basin imong skills sa C ang limited bro?
    yes, its limited compare to C++ (OOP). I don't know how far my knowledge in C, but I'm still doing it with my main projects.


    The link you posted is quite old already...and obviously it's against C++.


    Quote Originally Posted by darkhero View Post
    by the way, it's called data objects bro. the basic types of variables in c are also called data objects, i.e. char, int, float etc. but it's the WAY he used typedef structs that made it OOP.

    I won't bother your comments nor other people's opinion, but these are DATA TYPES for me
    when we deal about OBJECTS, it carries attributes, methods etc...
    it would be funny to ask "What data object is that?" LOL



    Quote Originally Posted by darkhero View Post
    but it's the WAY he used typedef structs that made it OOP.
    ohhhhhh..... no comment.


    Quote Originally Posted by darkhero View Post
    btw, unsa diay standpoint sa OS ug compiler about OOP? maka-nosebleed lagi na maglibog man pud ang mga newbie tungod sa ka-advanced nimo bro
    im not talking about OOP, but STRUCT and CLASS... like what happen to STRUCT when it leaves/enters every function calls, and class (vice versa)


    Please, if you provide comments, do it politely, I might misunderstood your point. I'm not hammering C++ nor C, on you.


    @TS, sorry about this mess.... anyway happy to see your problem solved

  2. #22
    Quote Originally Posted by MarkCuering View Post
    yes, its limited compare to C++ (OOP). I don't know how far my knowledge in C, but I'm still doing it with my main projects.

    The link you posted is quite old already...and obviously it's against C++.
    if C is limited then why linus torvalds and other programmers continues to use it in developing the linux kernel as we speak? why did he use it when he programmed git? git by the way is the new hype in revision control and it is still being considered as new. kinsa nga project ang mas dako bro? kinsa nga project mas importante? kinsay mas taas ug experience? kinsa pud angay tuhoan - you claiming that C is LIMITED compared to C++ who doesn't even know how far his knowledge of C is or linus torvalds who obviously knows what he is talking about?

    Quote Originally Posted by MarkCuering View Post
    I won't bother your comments nor other people's opinion, but these are DATA TYPES for me
    when we deal about OBJECTS, it carries attributes, methods etc...
    it would be funny to ask "What data object is that?" LOL
    para dili mahimo nga comment or opinion bro, i-quote na lang nako ang ansi c specification:

    Object --- a region of data storage in the execution environment, the contents of which can represent values. Except for bit-fields, objects are composed of contiguous sequences of one or more bytes, the number, order, and encoding of which are either explicitly specified or implementation-defined.
    source: http://flash-gordon.me.uk/ansi.c.txt section 1.6, 4th definition.

    that's why i said... "the basic types of variables in c are also called data objects". ang official definition kay object unya sabta daw ang meaning. di na tingali na ma-lalis bro? except cguro kung lain ug meaning para nimo ang variable nga gi-mention nako.

    oh wait, do you know why i prefixed "data" to it? it's because....

    "A data object is a region of storage that contains a value or group of values. Each value can be accessed using its identifier or a more complex expression that refers to the object. In addition, each object has a unique data type. The data type of an object determines the storage allocation for that object and the interpretation of the values during subsequent access. It is also used in any type checking operations. Both the identifier and data type of an object are established in the object declaration."
    An instance of a class type is commonly called a class object. The individual class members are also called objects. The set of all member objects comprises a class object.
    source: http://publib.boulder.ibm.com/infoce...ta_objects.htm <--- guess what? data objects man lagi ang term sa c++.

    ako ra gi-klaro bro nga data object para dili nimo masayop ug sabot that's why gi-apil nakog mention ang data types para sure nga data ang gi-istoryahan, dili classes. anyway imo man jafon gisayop ug sabot, bisan klaro na akong istorya. you still think that objects can only be a class type, kung walay attributes, methods, etc. dili na siya object. obviously, you're understanding of what objects really are in c/c++ is not complete.

    kung pure c programmer ra ang makabasa ani akong post, object na lang unta to akong gigamit. that's why gigamit nako ang term sa C++ para naay kalahian sa C. it was for your own benefit bro not mine. para dili ka malibog ug samot.

    Quote Originally Posted by MarkCuering View Post
    im not talking about OOP, but STRUCT and CLASS... like what happen to STRUCT when it leaves/enters every function calls, and class (vice versa)
    simple inference bro, you OPENED the topic that the TS should be doing OOP skills by now. then i pointed it out that he is already doing it although basic ra. polite na gani to pagka-point out nako bro kay gipaagi pa nako sa pangutana, wa nako gi-diretso.

    Quote Originally Posted by darkhero View Post
    kanang typedef structs (NAMETYPE/STUDREC) sa original code niya dili diay na basic skills sa OOP?
    unya naabot dayon ka sa classes, claiming pa jud that C is limited. mao na nangutana ko kay ako ra gi-try ug konek imong gi-open nga topic about OOP to operating systems and compilers, karon about na pud kung unsay mahitabo sa struct/class inig enter or exit sa function (ambot lang unsa imong buot pasabot ana kay di mana matag-an kung unsay mahitabo, depende ra na sa programmer giunsa niya pagpaagi, ang enter cguro matag-an, pero ang exit - ambot lang. pwede gani dili mo-enter. pwede pud dili mo-exit). naglibog ko unsay direct connection sa OOP. nganong ni-enter?

    unsaon pag-enter/exit kung global pointer ang gigamit sa function? pasagad ra man ka istorya bro. daghan kaayo kag claims nga way ika-support puro ra laway.

    Quote Originally Posted by MarkCuering View Post
    Please, if you provide comments, do it politely, I might misunderstood your point. I'm not hammering C++ nor C, on you.
    ako ra gipang-expand imong mga sayop bro para masakto. maka-benefit jafon ang uban gikan nimo. dili diay na polite bro? helping others?

    anyway, off topic na man cguro ko ani nga thread? kung off topic na gani. pasensya na ninyo.
    Last edited by darkhero; 05-22-2010 at 02:05 AM. Reason: typo, color2x, bold2x

  3. #23
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    bro, I don't know why u mentioning linus torvalds here LOL. still it does not proved that C is not limited.

    from the link you post:

    A data object is a region of storage that contains a value or group of values. Each value can be accessed using its identifier or a more complex expression that refers to the object. In addition, each object has a unique data type.

    again, I don't care on how you accept that... we seldom call it "DATA OBJECT" instead we simple call it as "object" & "data type" so stop bothering data object is not and never be the same as data type

    Quote Originally Posted by darkhero View Post
    i(ambot lang unsa imong buot pasabot ana kay di mana matag-an kung unsay mahitabo, depende ra na sa programmer giunsa niya pagpaagi, ang enter cguro matag-an, pero ang exit - ambot lang. pwede gani dili mo-enter. pwede pud dili mo-exit). naglibog ko unsay direction connection sa OOP. nganong ni-enter?
    :2funny I really thought u already get that. anyway talk to google again

    tips: STRUCT versus CLASSES

  4. #24
    @MarkCuering:

    kani di na ni off-topic. kabalo ka ngano niapil kog tabang sa TS? do you know why?

    it's because of this....

    Quote Originally Posted by MarkCuering View Post
    Code:
    void DisplayTopStudent(nd *head)
    {
     nd *p;
     p=head;
     float highestGPA=0.0;
    
     while (p!=NULL)
     {
    
      if( highestGPA < p->x.GPA) highestGPA = p->x.GPA;
      p=p->next;
     }
    
     printf("Student with the Highest GPA: %.1f\n", highestGPA);
    
    }
    dapat ang i-display kay ang student with the highest GPA, dili kay GPA ray i-print sa screen. sangit na gani ka dira dapita sa analysis bro unya manambag pa kag OOP? naa pa kay pa-boxes2x, graphics into VGA mode unya simple english dili kasabot?

    Student with the Highest GPA

    unya pun-an pa jud ug istorya nga LIMITED ang C. hinay2x pud intawn sa pagka-BRAYT bro kay maka-nosebleed na

    wala na ko mag-expect nga makasabot ka nako fyi, nagsugod kog program 1993-1994. kabalo na ko daan ana akong gipang-istorya about OOP way before google existed. gi-google ra nko ang sources para dili ka maka-counter ug tarong kay nakabantay nko nimo sa uban threads, cge istorya ug complicated terms nga dili masabtan sa ordinary user, cgeg pabilib unya pagtan-aw nko sa imong program diri nga thread, sayop diay to. imo man unta gi-test ang code unya wa jud ka kita sa sayop? abi nako maayo. istorya ra diay to.

    kung ako imong employer bro, di ko mailad ana imong style nga i-overwhelm ang tawo ug mga istorya nga lagpas. mao nay gitawag barking dogs never bite. kay dili man kaya sa lihok, sa istorya na lang daugon.
    Last edited by darkhero; 05-22-2010 at 02:06 AM. Reason: incomplete text, color2x, bold2x

  5. #25
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    ha? GPA ra diay na... pede pa tudlo ko nimo? hehehe

  6. #26
    ganahan ka makat-on bro? kana imong pagamit sa pointer ay. gi-diretso nimo compare sa null. beginners ray mobuhat ana bro. i-compare daw giunsa nko pagamit ang pointer bro para makat-on pud ka. dili kay puro istorya unya inig-code sayop diay to. makig-lalis pa ug OOP unya wala kabalo unsay kalahian sa data object ug class object.

    sample of data objects using struct types... pwede pud tawgon objects (officially defined in c/c++). the WAY it is being used below is the basic idea behind object-oriented programming.

    Code:
    typedef struct
    {
    	char first[40];
    	char last[40];
    	char middle;
    } NAME;
    
    typedef struct
    {
    	NAME name;
    	long int id;
    	char course[20];
    	int year;
    	float gpa;
    } STUDENT;
    
    NAME person;
    STUDENT student;
    sample of data objects using basic (fundamental) data types... commonly called as variables...

    Code:
    int done = 0;
    int index = 1;
    char input = '\0';
    sources:

    * http://publib.boulder.ibm.com/infoce...ta_objects.htm <-- stupidity na jud basta dili kasabot. read the title of the first column sa table.
    * http://flash-gordon.me.uk/ansi.c.txt <-- basaha para di pataka ug yawit.
    Last edited by darkhero; 05-22-2010 at 02:07 AM. Reason: incomplete text, sample, references

  7. #27
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    yes bro beginner pa ako student pa me

  8. #28
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    ako diay gi diretso gamit ang pointer? hehehehe...

    iya jud gi edit ang post para lang jud e push ang data objects ug ma mention niya na 1993 pa siya nag start program, wala may nakipag lalis nimo sir, salamat sa mga words like stupidity, beginners, and the way you flamed me.... ur one of those

    ako diay gi ilad akong employer? hehehehehe.

  9. #29
    unsaon man gud kinghanlan pa man i-duot sa imong utok bro. mao gi-edit nako. wala man kaha modugo?

    kusog man kaayo ka mo-istorya ug technical dba, ipagawas daw run diri imo mga technical nahibaw-an sa C. genius baya ka. unya cge pa kag hisgot ug classes. "limited" C man untay topic.

    cge ra kag hinambog. imong skills ang limited bro, dili ka kantigo mogamit ug C mao moingon kag limited. nakaya man gani himo sa uban ug operating system kernel unya limited na hinuon?

    Quote Originally Posted by MarkCuering View Post
    I never met teachers better than me when I first step in H.S. to COLLEGE
    unya wala man lagi ka kasabot ani:

    Student with the Highest GPA

    cge ra man kag pabilib unya mosangit gani palusot dayon

  10. #30
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    you still don't understand... coz you focus on firing at me, repeating things and lots of unnecessary words. lower your temper a bit...it's kinda ridiculuous.

    all language have some features and limitations. but this does not apply to programmers who made any systems out there, its limitless and varies different skills of the person/team.

    from that time you said you've been working since 1993, I already put up in my mind that you are more experience than I am, coz I was around 10-11 that time, but the way you behave and utter ur words is very unprofessional.

  11.    Advertisement

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

 
  1. cross fire error. please help me with this
    By orvillejoy in forum Video Games
    Replies: 6
    Last Post: 02-14-2011, 09:21 AM
  2. LTDIS1N.dll error please help!
    By vienabyam in forum Programming
    Replies: 1
    Last Post: 11-11-2010, 04:41 PM
  3. codec error..please help!!!
    By mikhailbogz in forum Software & Games (Old)
    Replies: 30
    Last Post: 10-14-2009, 11:42 PM
  4. Java Error... Please help!!!
    By happy_chique in forum Software & Games (Old)
    Replies: 3
    Last Post: 08-22-2008, 09:08 AM
  5. service error 6A00 for pixma ip4200..please help
    By zney25 in forum Computer Hardware
    Replies: 6
    Last Post: 07-10-2008, 10:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top