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"...
Type: Posts; User: RyanC
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"...
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...
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 ! ...
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...
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)...
just to laugh :)
the electrons wouldn't go to the transistor gate if there was
an equal potential between Drain and source xD :)
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...
got the idea .. thanks !
I mean how should I look as a programmer on the 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...
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...
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?!
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...
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...
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...
I'm not having specific code, it's something in general
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 ) //...
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...
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...
didn't understand you explanation, may you illustrate more? thanks alot!
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...
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...
thanks alot!
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?
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)
...