Search:

Type: Posts; User: RyanC

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    270

    definitions inside FOR/IF blocks

    Hi guys!
    why if I define for instance
    int i=0; inside if statement then when I gets out from the if block the value of i isn't saved ?
    I mean like this:

    if { int i=0} when I get out of "if"...
  2. Replies
    1
    Views
    164

    C++ and its creation objects

    Hi guys!
    C++ language provide the facility for creating object from classes!
    my question is a lil weird, once I'm using the function new() for creating concrete object, how should I imagine that? I...
  3. Thread: multipointer

    by RyanC
    Replies
    1
    Views
    193

    multipointer

    Hi guys!
    just so confused about something that I was disregarding it everytime, and this time comes to ask.
    I've read about pointers and just want to know if [/code]int**
    called also a pointer ! ...
  4. Replies
    10
    Views
    287

    My question is really explicitly asked .. why...

    My question is really explicitly asked .. why actually "true" correspond to satisfying what's found inside if statement .. why actually not the opposite .. not doing the if statement by putting...
  5. Replies
    10
    Views
    287

    I don't know if I'm stupid that much or you guys...

    I don't know if I'm stupid that much or you guys trying to make me stupid ..
    if a programmer doesn't know actually why if (true) then the PC enters the if statement and why for isntance if (true)...
  6. Replies
    10
    Views
    287

    just to laugh :) the electrons wouldn't go to...

    just to laugh :)
    the electrons wouldn't go to the transistor gate if there was
    an equal potential between Drain and source xD :)
  7. Replies
    10
    Views
    287

    FALSE AND TRUE in C language

    Hi guys !
    the teacher once I learned the C programming language just said like this : if (false) then we aren't entering the block of "if", but once if(true) then it enters the block statement of...
  8. Thread: Data type

    by RyanC
    Replies
    5
    Views
    225

    got the idea .. thanks !

    got the idea .. thanks !
  9. Thread: Data type

    by RyanC
    Replies
    5
    Views
    225

    I mean how should I look as a programmer on the...

    I mean how should I look as a programmer on the data type ?!
  10. Thread: Data type

    by RyanC
    Replies
    5
    Views
    225

    Data type

    Hi guys! what's up?
    I know what's datatype and what it means, but it's curious for me why I can write simultaneously like this int x=5 , isn't "int" considered as variable on the programming...
  11. Replies
    3
    Views
    285

    Delete an item from a linked list

    Hi gentlemen, there's something really confusing me which is:
    how would I delete an item from a linked list when all
    I get is the item itself. ?

    any reasonable approach to share with me? thanks...
  12. Replies
    2
    Views
    295

    I mean, once I write a code, how should I...

    I mean, once I write a code, how should I visualize NULL pointer?! how should I think about it to use it in a correct way in my code?!
  13. Replies
    2
    Views
    295

    Reading a NULL pointer

    Hi guys, we know that NULL pointer is "nothing" but in terms of PC it's address of 0;
    so once I write *(NULL) , how does the PC deal with? I know that *NULL isn't compilable, but how does the PC...
  14. Thread: Updating data

    by RyanC
    Replies
    11
    Views
    320

    Ooop, where is it gone? there's no answer to that...

    Ooop, where is it gone? there's no answer to that question ..really where does it go? not kidding I'm so seriously. so magic is play role? and how switching light related to saving memory? are we...
  15. Thread: Updating data

    by RyanC
    Replies
    11
    Views
    320

    Updating data

    Hi guys; this is last curious question that's really confusing me so much!

    once I write to my compiler

    int x=10;

    x=5;

    x=7;
    then the last value of x is updated and the last updated...
  16. Replies
    5
    Views
    399

    I'm not having specific code, it's something in...

    I'm not having specific code, it's something in general
  17. Replies
    5
    Views
    399

    Cases of empty array

    I'm confusing about something which I'm struggling with.
    sometimes we put this condition sometimes on arrays: (assume we have pointer to array as arr)


    if (arr == NULL || arr.length()==0 ) //...
  18. Replies
    2
    Views
    281

    Printf discussion

    Hi gentlemen ;
    I have last confused question about C programing function which is printf()
    Lets assume I have assigned to printf a string like "Hello World" ; so the Pc save that world into...
  19. Thread: String in C++

    by RyanC
    Replies
    1
    Views
    283

    String in C++

    Hi guys!
    String in C++ is just an object of class, in C we were using

    char * and all fine with that also over C++ support that.
    but what's confusing me, if I'm using string data type as String...
  20. Thread: Logic cyclic

    by RyanC
    Replies
    5
    Views
    332

    didn't understand you explanation, may you...

    didn't understand you explanation, may you illustrate more? thanks alot!
  21. Thread: Logic cyclic

    by RyanC
    Replies
    5
    Views
    332

    Logic cyclic

    Hi guys; Im asking here about the logic than the code; if I have array with size 15 for instance and have two pointers one pointer pointing on index 0 and the other pointer pointing on index 0; at...
  22. Replies
    4
    Views
    506

    Programming Approach

    Hi gentlemen, I'm learning my programming language bymuself (solo) and once I'm writing a code, I really concern alot on the hardware and how the compiler convert my code to the PC, for example i'M...
  23. Thread: Compare concept

    by RyanC
    Replies
    4
    Views
    256

    thanks alot!

    thanks alot!
  24. Thread: Compare concept

    by RyanC
    Replies
    4
    Views
    256

    so if I understand you, I make my compare as my...

    so if I understand you, I make my compare as my assumptions ! and search for any other sort functions that's suitable to my assumption/logic of compare that I built?
  25. Thread: Compare concept

    by RyanC
    Replies
    4
    Views
    256

    Compare concept

    Hi guys; I just passed in the tutrials on c++ regarding to sorting on basis specific pattern and I saw like this:(forget from syntax error because I want to understand the concept behind)
    ...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4