LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-01-2004, 01:09 AM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
how can i erase part of a string?


supposely I have a string "abcdg\n" and p is a pointer that points to it

now I want same pointer to point "abc\n" , what can i do?

Last edited by feetyouwell; 10-01-2004 at 01:18 AM.
 
Old 10-01-2004, 01:09 AM   #2
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
this is mispost

Last edited by feetyouwell; 10-01-2004 at 01:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
hot to set value of pointer to pointer to a structure in C alix123 Programming 2 11-17-2004 06:40 AM
Char set change`? jnusa Programming 2 11-09-2004 02:01 AM
Fedora Core 2 + KDE, can┤t set mouse pointer size in .Xdefaults rlinuz Fedora 0 06-20-2004 12:23 PM
invalid conversion from `char' to `const char* bru Programming 6 05-09-2004 03:07 PM
samba codepage/char set problem Clemente Linux - Software 3 11-25-2003 12:31 PM


All times are GMT -5. The time now is 09:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration