[C] - about pointers
[C] - about pointers
[C] - about pointers
[C] - about pointers
[C] - about pointers
[C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers
[C] - about pointers [C] - about pointers
[C] - about pointers
Go Back  Xtreme Visual Basic Talk > > > [C] - about pointers


Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2013, 11:36 AM
Cambalinho_83's Avatar
Cambalinho_83 Cambalinho_83 is offline
Senior Contributor
 
Join Date: Feb 2008
Location: somewhere in space
Posts: 1,296
Default [C] - about pointers


i read something about pointers and how use them:
Code:
int *pra;
int a;
a=24;
pra=&a;

printf("value is: %d\n",*pra);
printf("pointer adress is: %d\n",pra);
printf("variabel adress is: %d\n",&pra);
showing these i don't understand where can be used and for what
can anyone explain to me better what pointers are and for what can be used?
Reply With Quote
  #2  
Old 02-18-2013, 11:56 AM
PlausiblyDamp's Avatar
PlausiblyDamp[C] - about pointers PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Pointers are a fundamental concept if you are programming in C, in all honesty if you need to know what they are you are probably better off investing in a book on C programming or finding a more thorough online tutorial.

http://pw1.netcom.com/~tjensen/ptr/pointers.htm seems like it is worth a look.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #3  
Old 02-18-2013, 12:15 PM
Gruff's Avatar
Gruff[C] - about pointers Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

Cambalinho_83,

Don't you think you would be better served by asking C questions on a C forum?

Just because we have a forum area for Misc Programming languages doesn't mean we have experts in all those languages.
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
  #4  
Old 02-19-2013, 09:13 PM
hDC_0[C] - about pointers hDC_0 is offline
Contributor

* Expert *
 
Join Date: Feb 2004
Posts: 559
Default Getting into C language pointers..

Quote:
Originally Posted by PlausiblyDamp[SIZE="1"
..you are probably better off investing in a book on C programming.[/SIZE]
Improperly coding pointers in C language can cause memory issues
which can tend to have a detrimental effect to the stability of any C language program you might be trying to develop.

Books are better than online tutorials.
Taking a local/online college course is even better than trying to absorb knowledge off the pages of a book.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
[C] - about pointers
[C] - about pointers
[C] - about pointers [C] - about pointers
[C] - about pointers
[C] - about pointers
[C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers [C] - about pointers
[C] - about pointers
[C] - about pointers
 
[C] - about pointers
[C] - about pointers
 
-->