This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dense

Pages: [1] 2
1
C - C++ / Re: [C++] user defined function w/ returning value
« on: July 08, 2013, 10:53:39 PM »
Global means it's accessible everywhere, in every scope.
So locals are the ones you can't access everywhere like functions in a class (the ones that aren't static).

2
General discussion / Re: Post your deskTOP
« on: June 30, 2013, 03:19:08 PM »

3
no pr0n? i call bad list!
that would only keep you busy for 5 minutes...
also, no coding ? :l

4
I meant what is the benefit in having both? They are relatively similar.
Yeah, you're right. I included both so you could have a choice between oop and procedural but I just realized you can use C++ procedurally too :l

5
Well, I did put category in quotations :D
I meant more in the sense of how/where they were used ie. Microsoft,  I meant they were used on Microsoft products (windows, xbox, win phone etc.).

Quote
Why C and C++? What is the benefit?
Mostly because they're general purpose and run anywhere.

6
If I would make a list it would be something like this:

1. C (procedural)
2. C++ (oop)
3. HTML (web)
4. PHP (web server-side)
5. JavaScript (web client-side)
6. Python (scripting)
7. C#/VB.Net (microsoft)
8. an assembly language (low-level)
9. batch/bash (system scripting)
10. Java (Android)
(11. Haskell 12. A Lisp language 13. brainfuck)

A language from each "category" or something like that.


7
General discussion / Re: programming language tests?
« on: June 26, 2013, 02:19:16 PM »
Like Kulverstukas said, just make some stuff. Start with something easy and then do something harder each time. My first project was a tic-tac-toe game, it was pretty badly written but I learned a lot.

I have programming class at school and it's really slow. Like, stuff I learned in about a month or so they teach it for a whole school year. So, definetly better and faster to just learn on your own. We had some general math oriented problems for homework so you could probably try that (I have a .pdf but it's not in english).

Here's some general problems you could do.
http://www.cplusplus.com/forum/articles/12974/

8
C - C++ / Re: C++ programs and cmd?
« on: June 26, 2013, 01:53:47 PM »
i also thought about leaving the console program shit but i thought it had to be like that for amateurs but at least am gettin' some hopes that u can use the GUI.....do i need to tutorials for that too...or ??? ??@Chef ****EZ******
Doesn't mean if a program doesn't have an UI it's bad/written by an amateur. Of course UIs look professional and are better for the non-tech savvy people, I guess.
Well, you don't need tutorials, every library has it's own documentation so you can use that and there's always examples of how to use it.

Anyway, I suggest Qt because it's modern, cross platform and pretty easy to get into. It also has it's own IDE which has built-in UI designer so you don't have to manually do stuff.

9
C - C++ / Re: Day 1 of me learning C++
« on: June 23, 2013, 12:41:22 AM »
If double is so much more precise shouldn't I just always use it over float?

Sure, but it's more expensive in terms of memory.

10
C - C++ / Re: Day 1 of me learning C++
« on: June 21, 2013, 04:53:43 PM »
The last one, #include <iostream> has to have it's own line.
Code: [Select]
#include <iostream>
using namespace std; int main () {cout<<"Hello People!"; cout <<"Testing 1 2 3!"; return 0;}

11
C - C++ / Re: Day 1 of me learning C++
« on: June 21, 2013, 04:33:48 PM »
The last line is incorrect, preprocessor directives need a line for themselves. Other than that, if you actually understand each line of the code then you're at a great start  ;)

12
C - C++ / Re: [C++] IRC Bot Library (unfinished)
« on: June 18, 2013, 01:38:15 PM »
Yes, actually I did think about converting but it would only save me time in certain places where there was string building, it wouldn't really change much.

13
C - C++ / Re: [C++] IRC Bot Library (unfinished)
« on: June 18, 2013, 12:56:24 PM »
Yep, this wasn't really made for any malicious bots more for general purpose bots.

It's unfinished cause it's mostly bare bones right now and not very library-ish cause not everything is being done behind the scenes. If you look at the example bot, you can see that a lot of stuff is being managed by the user (like the PING PONG stuff) which defeats the purpose of having a library at all.

What's up with all the initialize through memset and use of memcpy. Are you programming C++ or what ? :D

That's WinAPI's fault, mostly. Because a lot of it is written in C, functions don't use std::string but use c strings which force me to use it's annoying functions.





14
Scripting Languages / Re: [py] Simple file pumper
« on: June 17, 2013, 06:54:55 PM »
Yep, you're right.  Edited the main post.

The stackoverflow solution is faster and cleaner but it's seems it's platform specific. Would the pumped file if transfered from a ntfs system to a fat system be the same (pumped) ?  :)

15
C - C++ / Re: [C++] IRC Bot Library (unfinished)
« on: June 17, 2013, 06:02:12 PM »
Thanks, glad it's useful to someone :)

Pages: [1] 2


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.