Forum Replies Created

ShikhaTan Member

Read this:

http://www.marcandangel.com/2013/12/25/10-gifts-you-deserve-to-give-yourself/

A great site in my opinion, I read their articles a lot and it’s always motivating

ShikhaTan Member

Deal with negative facts. Well I just think positive. I am not just saying like, “Hey think positive and your good to go.”

But really I do think positive. Like for your example about not having a girl around. So what? At lease your saving those EXTRA cash and can spend on things you want. If negative things happen a lots in a short time. I would just stop all of my after work event and go fishing. Out there I get to be alone and think.

ShikhaTan Member

Tbh, not the best opener, “why you say?”, because you can just as well say it is a fact someone has negative thoughts. Who’s gonna deny that?

Having no girlfriend will only matter if you feel bad about it aka negative thoughts. But be that as it may, I think I understand what you’re aiming at, so I’ll just point back to the previous alinea.

ShikhaTan Member

I am just looking at the glass half-full and not half-empty

ShikhaTan Member

The fact of the matter is, companies want people who can do the job fairly well. Software companies especially want someone who can do the job whether they have a formal education or not and often times the interviews require being able to answer problem-solving questions. Like it or not, programming does require some math. Past the obvious, math teaches one how to think logically, something that your lizard brains aren’t born with. People generally think emotionally, meaning that logic doesn’t necessarily come into play. If you can learn programming and produce complex, quality software that you can show off at an interview without college, by all means do it. There have been plenty of people that learned how to be a code monkey without college classes. Keep in mind, however, that a formal education isn’t just a “Marxist” agenda, but also proves that you’ve at least demonstrated some competency in the field. While a full out bachelor’s may not be the right route for you, at least get some college algebra under your belt and look for community college courses that teach high-level programming languages like Java. Where I live, the community college actually offers an 8-month course in Java where you learn nothing but Java.

As for how to learn, everyone learns a bit differently but everyone learns to code the same way: practice. Like a previous poster said, reading books without putting your fingers on the keyboard to practice the concepts is a waste of time. Learning to code, and code well, takes practice. There are intricacies to every language that isn’t always obvious when you read it from a book. So work through the problems in your books at the end of each chapter and ask forums like stackoverflow when you have issues. And don’t let anyone tell you otherwise but there is a certain art to studying. Those who succeed at retaining what’s in a class know how to study, everyone else knows how to memorize. Ever heard someone say they brain-dumped that class? It’s because they didn’t really understand what they were studying. When I say understand, I mean having a deep understanding. This is different from simply knowing details. Anyone can memorize what a pointer is in programming, but what does it really mean? Those who actually know the difference between a pointer and a reference have a deep understanding of the concepts.

Try learning how to visualize things. Anything can be visualized if you try to. The human brain is designed to work with images, sounds, smells and feels. Something as abstract as math or programming doesn’t inherently seem to lend itself to how our brains actually work. So how do people learn these things? Visualization is the key for most people. Math visualizes things via graphs to the point where graphing theory is a math field in itself. My recommendation to you in learning how to learn is figure out how visualize something and practice, practice, practice.

Also, don’t be afraid to explore different things. The best programmers, and innovators, have hobbies that have nothing to do with their field. Get some life experience in different things and you’ll be surprised with how many experiences will only help you in the field you choose. Zuckerberg got the idea for facebook because he wanted to socialize more (get laid). Newton questioned the existence of gravity from hanging out from under a tree, and he wasn’t thinking about physics at the time (as it is assumed).

In general, the point I’m getting at is studying does require knowing how to study, whether it is inherently known or not. Software programming does require some knowledge in the field before you can get a job, whether it is learned in college or not. And a varied life of experience will only help you along the way, good and bad. Only you can answer the question as to whether college is a good idea or not. While being a doctor does require it, being a programmer still has the elbow room afforded to it to allow those with proof they know what they are doing to get in, whether it’s a degree or not. Companies will only hire those they think are valuable: those that can accomplish the job, work in teams, and move the company forward with little pain as possible.

ShikhaTan Member

Would that be the same for Engineering or would I have to go to college for that?

I know that Math can also be self-taught even at the highest levels (PHD) especially with YouTube etc… One of the greatest mathematicians named Ramanujan (who has a book named “the man who knew infinity” which is basically a biography about him) was self-taught. I remember seeing him mentioned on a history channel documentary.

Lots of people have also taught themselves Html, Css, C++, python etc… from the combination of reading a book and watching Youtube videos. I found a six hour video (for free) on Youtube teaching Javascript. I could check out a book from the library (or download one. the library system in my town is linked to one of the best library systems in my whole country) read it take notes on a separate piece of paper and go at my own pace. I’m going to try college one last time (because I have a pell grant) and if I feel I can’t succeed at a very good level.

I’m going to either get a job (and learn how to drive and become a taxi driver) or if that doesn’t work get a regular job. I’m going to give myself until the college drop date and if I feel the professor / school isn’t going at a slow / relaxable enough rate I’m dropping college and never going again. If I do drop college I’ll most likely own them money back but it’ll only be a little bit compared to a state university. The college I’ve been attending since high school is a community college. Also you can look up college is a waste of time and money on YouTube and it virtually goes into infinity about peoples bad college experiences.

I wanna learn a language in four to six months just to be slow. I’m going to probably read a book on psychology so I can think up my own techniques for learning. I want to eventually write a free ebook to help others. It’s not about the speed it’s about the quality, but in this economy / world speed is still a factor.

I graduated high school in 2009 and fewer than twenty of my peers went to a regular (state or private) college and actually graduated from college. Most of them either went straight to work or went to community college. My experience with college is the first day the teacher explains how the class will be gives a syllabus. Then the second to third class is when they actually teach (half of the time the third class). I remember being in a college writing I class (my first one. When I go back it’ll be my third time taking college writing I) and the whole class wasted time talking about stuff that had nothing to do with the class. The class is only one hour and fifteen minutes long each week twice a week. Which is three hours a week total.

When I was in the community college class for my computer science program. I was taking American history I. (which has nothing to do with computer science only if you want to learn about the history of computer science.)

Most of the time it was a conversation / debate between the professor and the students. Other than that you have to write a paper every few weeks. Also I might add that this professor has a PHD in history.

I’m going to take note of the ten languages and do research on all of them.

ShikhaTan Member

You wanna program software. Download tutorials from warez and stop wasting time. Thats the way I learned it. No need to waste time on college. You think Mark Zuckerberg has education?? Learn this list in order and you can do every thing.

Stay away from Stencil and other software’s that requires you to pay for it. They advertise it is free but in reality it cost money.

Learning Web Development for beginners
1. JavaScript
2. Ruby
3. Python
4. PHP
5. Java
6. C
7. Objective-C (for iOS development)
8. C++
9. C#
10. SQL

ShikhaTan Member

” … and some things are a bit different there”
No surprise there. Microcheese is ALWAYS doing just about the OPPOSITE of everyone else when it comes to STANDARDS.

They are the most Arrogant, Pig Headed, We-Don’t-give-a-~ Censored ~.-what-others-think company in existence.

Learning a language is just that! A language.

You have to have in your mind “Where’s the nearest bathroom?” before you can translate it into another language. All languages have the ability to express something similar to that.

With programming languages it’s a bit different. Some languages can’t get you from point A to point B efficiently because of their inherit power in what it is capable of.

Regardless of the language you have to be able to break apart problems into solutions before coding anything.

Regardless if you use OOP or PP you still have to come up with the algorithms. And as a side note EVERYTHING you code, regardless of OOP or PP all flows down to the lowest common denominator which is the Machine’s ASSEMBLER Code. Upper level languages give us an easier way to enter the solution.

Some languages lend themselves to doing some things much easier than other languages. For example (using older languages) it’s is much easier to do graphics (draw lines, circles, etc.) in C than it would be using COBOL.

If you are working with Objects then you need to understand that paradigm fully so that you can take advantage of its power.

If you are just starting out and you’ve written only a handful of programs, I would suggest learning a simpler language first, one that’s more forgiving to improve your analytical skills.

Once you can create, in your mind, solutions / algorithms you can then apply the syntax of whatever language you choose to write in.

That being said, once you get to the point where solutions come fairly easy then the language does make a difference because as you develop your style you start to understand the little nuances of the language; different more elegant ways of doing things that make coding more efficient, faster, easier to maintain and more compact.

Try not to get into the “Gee Whiz” factor too much by coding things that project more of a “Look what I can do” rather than “This code does the job great!”

If, eventually you decide to concentrate on C++ then learn the version that adheres to the correct standards.

ShikhaTan Member

do you really need to use Access?
you could better use MSSQL Server Express
and what do you mean with “I need to add something to the code”? you will have to code something, else you won’t be a programmer

ShikhaTan Member

You need to develop your form using the smallest resolution it’s going to be viewed at.
While designing it, pay close attention to the “Anchor” and “Dock” properties.
It’s these two properties that determine how other controls within the form will be re-sized when the form is larger.

ShikhaTan Member

I tried your code in an easy program:

#include 
#include 
#include 
#include 
using namespace std;
int main (){
   char date[11];
   cin >> date;
   char * string;
   int date2[3];
   int counter = 0;
   string = strtok(date,"/");
   while(string != NULL){
      date2[counter] = atoi(string);
      string = strtok(NULL,"/");
      counter++;
   }
   for(int i=0; i<3; i++){
      cout<< endl<

And i do not see any problem.
The piece of code looks just fine to me.

(What variables are member of the private part of your class, what is the point of making a constructor when you do not use the information made in a the function.)

You should show more code... give an example when it crashes... get into the loop.

ShikhaTan Member

Android doesn’t have the javax.mail package, so that class is completely useless. See
http://stackoverflow.com/questions/2197741/how-to-send-email-from-my-android-application
on an example on how to send email.

ShikhaTan Member

C++ Primer Plus and C++ How to Program 7th are good books for introduction on C++. Personally, I like C++ Primer Plus more than C++ How To Program because it explain C++ in a good object oriented way. Like the other, C++ How To Program is just too boring for me too.

ShikhaTan Member

PHP was made for this exact purpose; dynamic web pages which can serve content on the fly if partnered with a language such as javascript.

What you want to do here is detect which page the user is on (via the URI) and then use javascript with ajax to dynamically update the GUI with different pages.

With including the same content on each page, keep it DRY and use includes to insert content to the page. So you could have a base.php page with:

 
ShikhaTan Member

Useful link:

http://www.w3schools.com/php/php_mysql_select.asp

Might not be too pretty but this will work:

$query = mysql_query("SELECT * FROM books WHERE user='$myusername'");
while($column = mysql_fetch_array($query))
{
    echo ''.$column['book'].'
'; }

You need to make sure that $myusername is safe from SQL injection.

You stated it only displays one record, that is because in your code you are setting $book to $column[‘book’], which does not tell it to loop thru all of the data and display it.

Hope this helped. Also I thought I would mention, if this is for a project that will be online for a while, keep in mind that as of PHP 5.5 the mysql_ commands are deprecated.

Viewing 15 posts - 1 through 15 (of 111 total)