| | |
how to copy data into array or memory ?
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2006
Posts: 4
Reputation:
Solved Threads: 0
Hi,
Actually my program will be read some input, as example :-
123
456
789
123
567
456
Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ?
Could somebody guide me how to solved this ?
Actually my program will be read some input, as example :-
123
456
789
123
567
456
Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ?
Could somebody guide me how to solved this ?
Last edited by bh_hensem; Sep 4th, 2006 at 5:46 am. Reason: better figures...
•
•
•
•
Hi,
Actually my program will be read some input, as example :-
123=saya
456=ada
132=buku
321=cerita
So, I would like to copy all the data into array or whatever and print it at the end of my program. Could some body help me ?
memcopy or better memmove If you want to win, you must not loose (Alan Ford)
Ok you can use those library functions which I mentioned (include
[edit] OK I see you edited your post now its more clearly but anyway post your code[/edit]
string.h). But you shold post your code for more asistance, becouse forum members can't understand clearly what problem you dealing with and what programming language you use.[edit] OK I see you edited your post now its more clearly but anyway post your code[/edit]
Last edited by andor; Sep 4th, 2006 at 5:51 am.
If you want to win, you must not loose (Alan Ford)
So how much have you managed yourself?
- reading a line in
- separating the number and the word
- storing them in an array
?
Post what you can achieve, then the answer will be more likely tuned to your specific needs.
It also shows you've done some work and not just dumped your assignment on a message board.
- reading a line in
- separating the number and the word
- storing them in an array
?
Post what you can achieve, then the answer will be more likely tuned to your specific needs.
It also shows you've done some work and not just dumped your assignment on a message board.
![]() |
Similar Threads
- How to copy data from serial port to notepad (Visual Basic 4 / 5 / 6)
- Need help: How to covert a program to an applet? (Java)
- copy data from excel to vb database (Visual Basic 4 / 5 / 6)
- Copy Constructor help (C++)
- works for static need help to make it dynamic (C++)
- input data from a file into an Array (C)
- copy hd data (Storage)
Other Threads in the C Forum
- Previous Thread: algorithms
- Next Thread: Can I run Linux code (32bit machine) in Linux (64bit machine)
| Thread Tools | Search this Thread |
Tag cloud for C
#include ansi array arrays asterisks binarysearch calculate centimeter changingto char command convert copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic fflush file fork forloop framework functions getlasterror givemetehcodez grade graphics gtkgcurlcompiling hacking hardware histogram homework inches include incrementoperators input iso kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. lowest match matrix microsoft motherboard mysql number opendocumentformat opensource owf pattern pdf performance pointer posix problem probleminc process program programming radix recursion recv research reversing scanf scripting segmentationfault sequential shape socket socketprograming spoonfeeding standard string strings structures student systemcall testing threads turboc unix user variable voidmain() wab windows.h windowsapi






