Search:

Type: Posts; User: ammar

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    958

    It's for added flexibilty... This way writing...

    It's for added flexibilty...
    This way writing the code would become easier to you.

    This is why C is such a nice language
  2. Replies
    21
    Views
    2,577

    It's not "56" it's "5" and then "6" is printed...

    It's not "56" it's "5" and then "6" is printed next to it by the statement:


    printf("%d",m);

    which prints the counter after the loop finishes (which is equal to 6 at the end).
    Just remove it...
  3. Replies
    23
    Views
    3,389

    In fact there are alot of christians there,...

    In fact there are alot of christians there, especially in India and the Philipines.
  4. Replies
    21
    Views
    3,962

    It's a nice textbook indeed, and it comes with a...

    It's a nice textbook indeed, and it comes with a compiler of a "toy" language called TINY ( 4000+ line of code )which is based on Pascal... and it goes towards making a compiler of a language called...
  5. Replies
    23
    Views
    3,389

    It's very sad... especially that it came right...

    It's very sad... especially that it came right after christmas...
    We should be trying to find a way to send donations, either via the red cross or something, but we shouldn't just stand and watch.
  6. Replies
    21
    Views
    3,962

    What I was looking for is some little and general...

    What I was looking for is some little and general information, like saying: I used YACC for the parser, LR(1), or LALR(1), or I used reqursive decent parsing, I used lex for the scanner or I wrote...
  7. Replies
    21
    Views
    3,962

    I know he was being sarcastic (who would write a...

    I know he was being sarcastic (who would write a compiler each week), I was just hoping that if has written one he would tell me more about it!
  8. Replies
    21
    Views
    3,962

    Can you explain what kind of compilers you write,...

    Can you explain what kind of compilers you write, and what methods you use to do so.
    I'm interested in knowing about other techniques in compiler construction.

    Thanks.
  9. Replies
    29
    Views
    3,108

    Poll: I like math... I used to hate it when I was at...

    I like math...
    I used to hate it when I was at school because most of my math teachers were bad ones. I think your teacher is right, when it comes to programming you should at least be OK with math....
  10. Thread: Merry Christmas!

    by ammar
    Replies
    36
    Views
    4,504

    The list of things I want can go forever but...

    The list of things I want can go forever but first things come first...
    A car is on top of the list (but no way that would fit under our tree).

    and everything I got was crappy!
  11. Replies
    60
    Views
    5,647

    I think that the good thing about user rating is...

    I think that the good thing about user rating is that it would give you an idea of what other users think of your posts, which is good... Ofcourse assuming that the users are giving serious rating....
  12. Thread: file i/o

    by ammar
    Replies
    3
    Views
    886

    These are some good tutorials:...

    These are some good tutorials:...
  13. Replies
    21
    Views
    3,962

    Have you ever written a compiler?

    I'm finishing up my final project for the course Compiler Design, and I thought it would be nice to know how many of you tried writting compilers, and what did you use to write it.

    What I did in...
  14. Replies
    60
    Views
    5,647

    They are fun as long as you don't take them...

    They are fun as long as you don't take them serious...

    for example, I'm still "waiting to be rated " although I've been here for quite sometime... But I have only posted a couple of posts since...
  15. Replies
    9
    Views
    1,878

    sorry, for that, I didn't quite understand the...

    sorry, for that, I didn't quite understand the previous post... that's why my reply was confusing.
  16. Thread: classes

    by ammar
    Replies
    4
    Views
    874

    cgod, This means that the problem isn't in the...

    cgod,

    This means that the problem isn't in the class ( as your thread title implies ), the same thing would happen to a normal variable even if it's not in a class.
  17. Thread: strings

    by ammar
    Replies
    11
    Views
    1,130

    To sum up... if you want the user to be able...

    To sum up...

    if you want the user to be able to enter more than 2 digits, you should use string like:


    char myString[20];
    //or
    string myString2;

    and you can validate the input by checking...
  18. Replies
    32
    Views
    3,080

    Read the comments // PROJECT 10-1.CPP ...

    Read the comments

    // PROJECT 10-1.CPP

    #include <iostream>
    using namespace std;

    const int size = 21;
    char original_string[size], reversed_string[size];
    int x;
  19. Replies
    16
    Views
    2,613

    I had my summer training in a networking company,...

    I had my summer training in a networking company, and they had the most stupid users I've ever seen, I wish they had a BOFH. When I read BOFH, I thought that there couldn't be such stupid users...
  20. Thread: Im a newb help!

    by ammar
    Replies
    27
    Views
    2,846

    >>Siggy Make sure that you understand why was...

    >>Siggy

    Make sure that you understand why was your code wrong, why you have to use char[50] instead of char, why you use int e (); before main.
    Understanding why is much more important that just...
  21. Replies
    47
    Views
    9,574

    I think that it's a good idea to read a book...

    I think that it's a good idea to read a book about programming languages and paradigms in general and then choose what kind of language or paradigm you would like to learn( if you are taking...
  22. Your problem is here: [code] b_file>>str;...

    Your problem is here:
    [code]
    b_file>>str;
    [code]
    This will read from the file untill it reaches a space
    you should try using getline(), there is nothing wrong with strtok()
  23. Replies
    3
    Views
    793

    I just want to add something. You should know...

    I just want to add something.

    You should know that they are called implicitly and ofcourse they can be called explicitly.
  24. Replies
    34
    Views
    3,073

    Poll: It's meaningless, as well as the title... It's...

    It's meaningless, as well as the title...
    It's just for fun!
    Although you can creat a small idea about someone based on his avatar or title.
  25. Replies
    8
    Views
    1,577

    It's not a bad idea idea frenchfry164, but I...

    It's not a bad idea idea frenchfry164, but I don't think it will make a big difference; most people ask questions about linux only!
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4