headprogrammingczar wrote: K&R looks likea fantastic bookthe bible of C, so definitely go with that.
Fix'd.
Moderators: phlip, Moderators General, Prelates
headprogrammingczar wrote: K&R looks likea fantastic bookthe bible of C, so definitely go with that.
Yakk wrote:The question the thought experiment I posted is aimed at answering: When falling in a black hole, do you see the entire universe's future history train-car into your ass, or not?
headprogrammingczar wrote:If you know Java, you already knowmost of Cabout curly braces.
Area Man wrote:headprogrammingczar wrote:If you know Java, you already knowmost of Cabout curly braces.
cjmcjmcjmcjm wrote:If it can't be done in an 80x24 terminal, it's not worth doing
broken_escalator wrote:Does anyone have some good tutorial sites on programming java with a GUI? I'm used to using command line arguments or entering things through the console, but I'd like to expand what I know. I've heard some good things about NetBeans, but I've also heard people saying they didn't like it at all. I thought I would ask here before randomly opening tutorials and giving them a whirl.
What I'm hoping to do is just make an applet of simple projects I've done in the past. Like, programming a calculator, or making an address book. But with Java!
Terry Pratchett wrote:The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
Dopefish wrote:So this past summer I learned C++ (at least well enough to do what I needed to) from "Accelerated C++" by koenig and moo (along side fiddling with some of my supervisors code), and that went reasonably well. This semester I'm taking a course that entails coding in C, so I'm curious if anyone has any recommendations of guids (preferably online and free ones) that would be good for learning C coming from C++, or if anyone has any particular advice with regards to what I'll need to be careful of in that transition.
Theres plenty of guides around for going to C++ from C, but I haven't found anything in the other direction. Standard "learn C from scratch" type things are around aplenty and I'll probably end up with one of those, but if theres anything suited to someone semi-familiar with C++ then that'd be cool.
Unforunately most of my learning C++ experiances was stuff saying "It's like C, but better!", which implies this C business is going to be "like C++, but worse!". :|
Yakk wrote:What course? What compiler? What version of the compiler?
Dopefish wrote:Yakk wrote:What course? What compiler? What version of the compiler?
It's a course on numerical methods in physics, and it doesn't expect any programming background, with what's required being theoretically taught along the way. The main focus would be modelling physical systems (more so random walks and that sort of thing, rather then numerical integration/DE's), as opposed to necessarily building up full fledged 'real' programs with smooth edges. It's a physics course, not a comp sci one, so horrible hack jobs are reasonably acceptable as long as they work.
No idea on what compiler/version yet, but I suspect it'll be whatever happens to come with the latest version of ubuntu.
Odds are that simply from what is shown in class combined with my experiance in translating things into code (and knowledge of the importance of semicolons) will be sufficient for me to get through it fine, but I figured I'd check if there was anything taylor-made to someone in my sort of situation.
I played around with Scala a bit a while back, and I was using Odersky et al's Programming in Scala (not to be confused with Programming Scala, which is by someone else). I remember it was quite a good book. It didn't start with tediously simple stuff, but also I was able to follow it in spite of not knowing Java - and obviously Odersky knows the language better than anyone. You can get a free draft pdf online.Robert'); DROP TABLE *; wrote:The n I would like to learn about is Scala. Does anyone have any suggestions for someone who already knows Python and C#?
Terry Pratchett wrote:The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
sourmìlk wrote:I'm making a game engine, but I'm embarrassingly unknowledgeable when it comes to the concept of threads. How can I learn about threads, techniques involved with using them, good practices, possible even implementations in various languages, etc.?
Vaniver wrote:Harvard is a hedge fund that runs the most prestigious dating agency in the world, and incidentally employs famous scientists to do research.
afuzzyduck wrote:ITS MEANT TO BE FLUTTERSHY BUT I JUST SEE AAERIELE! CURSE YOU FORA!
Terry Pratchett wrote:The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.
Anonymously Famous wrote:It ain't "++" for nothing. Sorry, I don't have any guides, but I do wish you luck.
You, sir, name? wrote:Anonymously Famous wrote:It ain't "++" for nothing. Sorry, I don't have any guides, but I do wish you luck.
If C++ was actually an improvement, it would be ++C. As it stands right now, it says "same as C, but will improve later".
Code: Select all
software-center
Code: Select all
cd ~/Downloads
ls
ls > ../Documents/ls.txt
evince {the filename}
Code: Select all
cd ../Documents
gedit ls.txt
Code: Select all
ls
rm ls.txt
ls
Xanthir wrote:The fundamental concept you need to grasp to understand is the concept of the game loop. In its simplest form, this is just a while(true) loop that, on each iteration, runs any physics you need, deals with user interaction, and then draws everything. This can get a lot more complicated, but once you're comfortable with this idea in general, everything else is pretty simple to understand.
Unless someone else knows a good source?
Users browsing this forum: No registered users and 15 guests