HI,
I learned C by reading a book (C in 21 days, Sams), no I just want to go on.
Some people gave me the advice to write a program like a text- editor, is that
a good desicion?
Thanks in advance,
Christopher 7 1633 cm************@aol.com (Cmorriskuerten) wrote in
news:20***************************@mb-m27.aol.com: HI,
I learned C by reading a book (C in 21 days, Sams), no I just want to go on. Some people gave me the advice to write a program like a text- editor, is that a good desicion?
No. Write a file conversion utility or some sort of text parser.
--
- Mark ->
--
Cmorriskuerten wrote: HI,
I learned C by reading a book (C in 21 days, Sams), no I just want to go on. Some people gave me the advice to write a program like a text- editor, is that a good desicion?
I would recommend you to write a program of your like. If you think it
would be cool to make a text editor of your own, then go for it ;)
I personally enjoy making games. I have made a game almost with every
language I have learned. I think it makes learning fun. And when it is
fun to learn, you usually learn better.
Cmorriskuerten wrote: HI,
I learned C by reading a book (C in 21 days, Sams),
Err...
no I just want to go on. Some people gave me the advice to write a program like a text- editor, is that a good desicion?
If I were you, I'd start by trying to make all the exercises in the K&R2.
Bruno
"Cmorriskuerten" <cm************@aol.com> wrote in message I learned C by reading a book (C in 21 days, Sams), no I just want to > go
on. Some people gave me the advice to write a program like a text- editor, >
is that a good desicion?
Learning the syntax of a language and its support functions is generally the
easy part. You then need to practise by writing real programs.
The choice of what program to write depends on the platform, your interests,
and your level of skill. For instance a simple text editor on a
character-mapped system, where you provided with a function like printat(x,
y, ch) for writing to the screen, would be quite easy to write. Trying to do
the same thing under Windows would be a much taller order.
Generally I think that graphical programs are best because you get an
immediate visual fix on any errors. However this does mean learning
something beyond the C run-time library.
>No. Write a file conversion utility or some sort of text parser. -- - Mark ->
What do u mean by a conversion utility, a programm that converts files in
different types of files?
W´hat do u mean by "Err"? Isn't that a good book, or what?
Chris cm************@aol.com (Cmorriskuerten) wrote in
news:20***************************@mb-m11.aol.com: No. Write a file conversion utility or some sort of text parser.
What do u mean by a conversion utility, a programm that converts files in different types of files?
Yes. Convert a .jpg to .gif or something like that.
Or, far simpler, write a text parser that generates a bunch of #defines,
enums, and characters strings from a list file, e.g.
// Input, apple.str, file to my new stringer program.
[elements]
foo
bar
baz
fub
[enum]
1 // Want enum version of 'elements'
bubs
[define]
0 // Don't want #define versions
[string]
1 // Want strings
bubStrings
// EOF
usage: stringer apple.str -o apple.h
output:
// apple.h
enum bubs
{
foo,
bar,
baz,
fub
};
const char *bubStrings[] =
{
"foo",
"bar",
"baz",
"fub"
};
--
- Mark ->
-- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Howard Nease |
last post by:
Hello, everyone. I would appreciate any advice that someone could give me on
my future career path. Here is my situation:
I am a bright Junior in a very well-respected private high school, taking...
|
by: Martin Piper |
last post by:
Hi all.
I've recently landed myself the position of trainee
C++ programmer which I'm extremely pleased about,
but also nervous.
According to the feedback from the interview, I
have a good...
|
by: Andy Dingley |
last post by:
I've just started on a new project and inherited a huge pile of XSLT
(and I use the term "pile" advisedly !) It runs at glacial speed, and
I need to fix this this.
Platform is MSXML 4 / ASP
...
|
by: ma740988 |
last post by:
I'm perusing a slide with roughly 12 bullets spread across 3 pages.
Each bullet reflects 'advice'. I'm ok with all but 1 bullet, more
specifically the bullet that states:
" Avoid the STL unless...
|
by: J Rieggle |
last post by:
Hi there,
I am stuck on a problem that relates to eCommerce sites, but isnt ASP.NET
specific (sorry). The ecommerce site is working in the UK, and products
will be sold in pounds stirling. ...
|
by: Alan Silver |
last post by:
Hello,
MSDN (amongst other places) is full of helpful advice on ways to do data
access, but they all seem geared to wards enterprise applications. Maybe
I'm in a minority, but I don't have those...
|
by: John Paul |
last post by:
I'm thinking of building an e-commerce site in php.
Anyone got any advice in building one?
What is the best way to implement a payment system?
Are any legal issues involved?
Thanks,
|
by: robert maas, see http://tinyurl.com/uh3t |
last post by:
I'm working on examples of programming in several languages, all
(except PHP) running under CGI so that I can show both the source
files and the actually running of the examples online. The first...
|
by: mesut |
last post by:
Hi colleagues,
I need your advice...
I have approx 1,5 years experience with ASP.NET/VB.NET 2005 and I have
to switch over into C# 2005 language. I don't have experience with C#
2005...
|
by: SM |
last post by:
Hello,
I have a index.php template (2 columns). The right columns contains a
bunch of links (interviews, poems, etc...) The left columns contains
the actual article.
So if I click on a link on...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |