| |
Discussion: ATRL Programmers & Tech Club
Member Since: 3/25/2012
Posts: 10,076
|
I'm starting to teach myself C++ as my first language but my programming friends keep saying it's a terrible language. I already bought the tutorial book and it seems manageable so far.  Thoughts?
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by Starburst
I'm starting to teach myself C++ as my first language but my programming friends keep saying it's a terrible language. I already bought the tutorial book and it seems manageable so far.  Thoughts?
|
Don't do C++ first if you plan on building something soon. It's not a bad language, it's just easy to get scared of it because it is lower level and more abstract. It's real fast and powerful, but too intimidating to be fun early on.
I can suggest you something, but what do you want to build?
|
|
|
|
Member Since: 6/20/2012
Posts: 805
|
Ya make me wanna stop procrastinating so much, and learn
What was the reason ya wanted to start programming? Did you just do it out of fun, or found it interesting?
|
|
|
|
Member Since: 3/25/2012
Posts: 10,076
|
Quote:
Originally posted by mrmaiko
Don't do C++ first if you plan on building something soon. It's not a bad language, it's just easy to get scared of it because it is lower level and more abstract. It's real fast and powerful, but too intimidating to be fun early on.
I can suggest you something, but what do you want to build?
|
I don't even know.  I'm becoming a computer engineer so basically I want to just teach myself something that's useful in the workforce. I wanted to learn C++ because it's apparently used in the video game industry a lot which is something I'm definitely interested in.
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by Ryan
 That would have driven me insane.
I upgraded my site a few months ago and somehow it converted my mysql database to Innodb and I was like omg what did I do?
I had to go and unlock the tables using SSH and some weird ass script I found, exported the tables and converted it to myisam. Took me 6 hours to realize I was doing it all wrong. 
|
|
|
|
|
Member Since: 12/7/2011
Posts: 18,969
|
Quote:
Originally posted by mrmaiko
|
OH MY LORD.. The long-hour-programming-curse
Once, I spent 8 hours straight figuring out what was wrong with my CGI, because when I refresh the website, none of the values are printing out
And then after 8 hours.. a 1-minute simple CTRL+F scanning in my script solved my problem..
I was so stupefied and dumbfounded that I forgot to put a name="" attribute to one of my form fields 
|
|
|
|
Member Since: 6/16/2006
Posts: 6,439
|
Quote:
Originally posted by KensieNars
Ya make me wanna stop procrastinating so much, and learn
What was the reason ya wanted to start programming? Did you just do it out of fun, or found it interesting?
|
da mooooneeeeeey!
And yea I just graduated this semester with a Computer Science degree, but I never took any database classes. I pretty much did Graphics Design using OpenGL, coding using Java and C, and other side courses like Concurrency and Human Interaction and Design, along with Robotics.
Ill probably learn stuff like Mysql and PHP on my own, but it doesnt seem too bad. I think the Mysql stuff is more Management and Information Systems rather than Computer Science
I was working on a HTML Textbook Builder for my Senior Design class with a group of three other people, the ****ing horror  The coding stuff really messes with your brain, you gotta be really patient to do this stuff.
|
|
|
|
Member Since: 12/7/2011
Posts: 18,969
|
Quote:
Originally posted by KensieNars
Ya make me wanna stop procrastinating so much, and learn
What was the reason ya wanted to start programming? Did you just do it out of fun, or found it interesting?
|
Maple Story
 @liketothrow  The endlessly nested <tr><td> tags 
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by KensieNars
What was the reason ya wanted to start programming? Did you just do it out of fun, or found it interesting?
|
Because I wanted to learn how to hack a game when I was a kid.
Then just because I fell in love with the casual gaming industry that the mobile touch screens has made explode.
I appreciated how indie developers were allowed to create experiences for people.
Definitely not the money. If it was for the money then I would have given up a long time ago. I wasn't able to even make money off of my side projects until last year  so I would create programs regardless.
Quote:
Originally posted by Mong Mong
 @liketothrow  The endlessly nested <tr><td> tags 
|
lol! I hate tables!
Quote:
Originally posted by Starburst
I don't even know.  I'm becoming a computer engineer so basically I want to just teach myself something that's useful in the workforce. I wanted to learn C++ because it's apparently used in the video game industry a lot which is something I'm definitely interested in.
|
That's true. C++ is really fast and all , but I think you should not learn it first. Look into Unity3D, and use Javascript or C# (I suggest Javascript first).
Do the tutorials so that you can learn what goes into making the games, then once you have your head wrapped around it all and you have a gods eye view (and perhaps have released some games into the appstore  ) then start looking at C++ if you want to make PS3 games.
But do note that you would be going a step back at this point, because engines like Unity3D will export a game for PS3, Xbox, Android, iPhone, Flash, PC, etc. etc. and you can write it in Javascript or C#.
 if you student Computer science in school, they will likely make you learn the language of C++, but you probably won't get too far into actually using it :\
|
|
|
|
Member Since: 6/16/2006
Posts: 6,439
|
In my curriculum we never even learned C++  , I had to learn that one on my own. Starburst I would think about learning Java or C before C++, and then after jump into C++, but its not that big of an issue. It was just easier for me to start with C based on the circumstances.
Quote:
Originally posted by Mong Mong
 @liketothrow  The endlessly nested <tr><td> tags 
|
pain in the rear 
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by like2throw
In my curriculum we never even learned C++  , I had to learn that one on my own.
pain in the rear 
|
So wait, Dartmouth gave you guys C, but not C++?  What kind of medieval curriculum? How do you guys get your OOP?
We really need to update our Computer Science curriculum in America. I'm embarrassed that my school is still handling C++ as the primary language for the program like the world hasn't changed.
|
|
|
|
Member Since: 2/16/2012
Posts: 8,740
|
 That all looks so confusing and messy. I'd like to learn programming but I feel like more of a mechanical engineer/design guy.
|
|
|
|
Member Since: 12/15/2009
Posts: 23,385
|
Quote:
Originally posted by Mong Mong
It's not for everybody, I don't even think I'll continue on with routing/switching just because I need to focus more on the hacking/exploiting aspect of IT.
And whyE did you quitE  Go back! CCNA fees are expensive as hell.. 
|
I heard the test for certification is hard. My high school at the time was paying for it all. I really regret it since I got to the end but bailed. You actually have CCNA under you? I was in high school like almost ten years ago. I remember allot of talk was ongoing about fiber optics and wireless as being the industry norm in years to come. I hated stripping them wires to prep the rj45 And the simulation switching and router configuring. Lord, in all honesty, half the time I was just doing the motions but not really understating what I was actually doing.
I love going through my books from Cisco and just reviewing it all. It's like another world! Also I remember the tests where allot of memorization. It was hard. 
|
|
|
|
Member Since: 9/26/2011
Posts: 3,765
|
Name: Uldis
Expertise: .NET (languages: C# (main), Visual Basic), databases (Oracle, Sql Server), web technologies, services. It's hard to write all that i did/learned during all years.
Experience: 15+ years with programming, 12+ years paid work experience.
Currently I'm Senior Developer witch means sometimes large part takes not programming but also analysis, management, work with clients and other things. Although I try to mainly focus on programming, I hate paperwork so much 
Current project: .NET MVC 4 Razor web portal project with web service as data provider.
Previous project: .NET WCF services project with Oracle Service Bus Architecture and SQL Server as database.
Favourite: C#
Why do you love your favourite language? I don't care much about languages, but C# is easy and flexible, also .Net includes lot of functionality, so you don't need to create basic things thus saving time. Now main reason why it's favorite is because i know it really well.
Can you give us a sample of your favourite language?
Code:
using System;
using System.Collections.Generic;
using System.Linq;
namespace JustFF
{
class Program
{
/// <summary>
/// Assigned permissions
/// </summary>
internal static List<string> assigned
{
get { return (new string[] { "Value1", "Value4", "Value5" }).ToList(); }
}
static void Main(string[] args)
{
// Read all available permissions from class metadata,
// and fill list with all permissions and flag if they are assigned
var test = typeof(Permissions).GetFields()
.Where(pi => pi.IsStatic && pi.IsPublic)
.Select(pi => new TestPermission()
{
Value = pi.GetValue(null).ToString(),
IsAssigned = HasPermission(pi.GetValue(null).ToString())
});
foreach (var permission in test)
{
Console.WriteLine(String.Format("Permission: '{0}' assigned={1}",
permission.Value, permission.IsAssigned));
}
Console.ReadKey();
}
public static bool HasPermission(params string[] permission)
{
return permission.Intersect(assigned, StringComparer.InvariantCultureIgnoreCase)
.Any();
}
}
/// <summary>
/// Permission constants
/// </summary>
public static class Permissions
{
public const string PERMISSION1 = "Value1";
public const string PERMISSION2 = "Value2";
public const string PERMISSION3 = "Value3";
public const string PERMISSION4 = "Value4";
public const string PERMISSION5 = "Value5";
public const string PERMISSION6 = "Value6";
}
/// <summary>
/// Class to capture data
/// </summary>
public class TestPermission
{
public string Value { get; set; }
public bool IsAssigned { get; set; }
}
}
|
|
|
|
ATRL Administrator
Member Since: 6/29/2002
Posts: 77,601
|
Quote:
Originally posted by KensieNars
Ya make me wanna stop procrastinating so much, and learn
What was the reason ya wanted to start programming? Did you just do it out of fun, or found it interesting?
|
I first started "programming" (it was more like scripting) back when I was a heavy IRC user (Internet Relay Chat, one of the most basic forms of chatting with others in groups). The program mIRC is probably the best known and easiest way to use IRC, and it has its own scripting language so you can make bots and automatically respond to commands and stuff like that. I started that for fun, just making games and other entertaining stuff.
In university I learned the basics of Visual Basic and Java, but I had no need or desire to create anything with it, and without practice you don't progress.
I started working six years ago and my manager at the time pushed me back to Java. That's when I really got into it. But we only implement and run mathematical models, so it's nothing crazy. The basics of the language are enough to be able to do this. However, once I could do something, that's when I started getting ideas to also use Java as a hobby, and I only needed to take baby steps to be able to do the other stuff I was interested in. It wasn't a huge mountain to climb. So it kinda snowballed from there. These days almost everything on my website is generated by Java programs.
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by man*****
I heard the test for certification is hard. My high school at the time was paying for it all. I really regret it since I got to the end but bailed. You actually have CCNA under you? I was in high school like almost ten years ago. I remember allot of talk was ongoing about fiber optics and wireless as being the industry norm in years to come. I hated stripping them wires to prep the rj45 And the simulation switching and router configuring. Lord, in all honesty, half the time I was just doing the motions but not really understating what I was actually doing.
I love going through my books from Cisco and just reviewing it all. It's like another world! Also I remember the tests where allot of memorization. It was hard. 
|
Man I bought all of these books for my CCNA because I really wanted to learn about Networking, but I can't wrap my head around it :\. I'm just not meant to be a hacker, or IT guy
I have my A+, MCP, and MCITP though. Those you can take cold if you have no life like me.
|
|
|
|
Member Since: 5/4/2012
Posts: 12,811
|
Quote:
Originally posted by mrmaiko
girl i ain't say all dat.
You know WIFI router hacking? I would like to learn current methods. Back then you could sort packet sniff for the keys but nowadays my ISP gave out these crazy CISCO routers in the neighborhood that just don't make any sense .
I would like to learn network hacking. It just isn't what it used to be in the early 2000's.
After i get into virus writing though.
|
Cisco Routers are the worst and the best at the same time. built in firewalls and ****.
AES Encryption
I use wireshark on the regular, but what I use mostly is BackTrack 5. Its a Linux OS with nothing but Pentesting tools.
My Wifi is open, But I have a small network at home so I could see everyone who logs in and their computers. If you have anything useful, I just take it and bump you off. Or bump you off and lock your MAC address out lol.
|
|
|
|
Banned
Member Since: 4/13/2011
Posts: 18,738
|
Quote:
Originally posted by Big Smoke
Cisco Routers are the worst and the best at the same time. built in firewalls and ****.
AES Encryption
I use wireshark on the regular, but what I use mostly is BackTrack 5. Its a Linux OS with nothing but Pentesting tools.
My Wifi is open, But I have a small network at home so I could see everyone who logs in and their computers. If you have anything useful, I just take it and bump you off. Or bump you off and lock your MAC address out lol.
|
thank you i have to talk to you more about it. I wanted to try either Blackbuntu or Backtrack, was up on a fence against which one is better.
|
|
|
|
Member Since: 5/4/2012
Posts: 12,811
|
Anybody with Blackberry experience?
I'm coding an app that searches for all the health food stores in my country, and I'm scraping a local search engine. I parsed the HTML result through YQL into an XML file, and now I have to parse the XML into something useable, and every XML parsing library for Blackberry is either dated or just plain  to use. Any help is appreciated.
|
|
|
|
Member Since: 12/7/2011
Posts: 18,969
|
Quote:
Originally posted by RastaMentality
 That all looks so confusing and messy. I'd like to learn programming but I feel like more of a mechanical engineer/design guy.
|
Sis, you stay slaying in that Physical/Data-MAC Layers
Quote:
Originally posted by man*****
I heard the test for certification is hard. My high school at the time was paying for it all. I really regret it since I got to the end but bailed. You actually have CCNA under you? I was in high school like almost ten years ago. I remember allot of talk was ongoing about fiber optics and wireless as being the industry norm in years to come. I hated stripping them wires to prep the rj45 And the simulation switching and router configuring. Lord, in all honesty, half the time I was just doing the motions but not really understating what I was actually doing.
I love going through my books from Cisco and just reviewing it all. It's like another world! Also I remember the tests where allot of memorization. It was hard. 
|
Oh my god  Were the lessons inexpensive back then?  Yeah I just finished CCNA4, and on my way to the next. CCNA5, I think
And hard to pass the certifications? No, it's very very easy nowadays.  All the test/exam answers are on the internet, updated most of the times.
Quote:
Originally posted by mrmaiko
Man I bought all of these books for my CCNA because I really wanted to learn about Networking, but I can't wrap my head around it :\. I'm just not meant to be a hacker, or IT guy
I have my A+, MCP, and MCITP though. Those you can take cold if you have no life like me.
|
! I get the practical and application side of routing, but NEVER the theory aspect of it
Auto-Summarization? Network, Sub-network, Sub-Sub-network?  VLSM?

|
|
|
|
|
|