Forum Replies Created

ShikhaTan Member

The general consensus would be PHP. For the sole reason nearly every webhost out there supports it in combination with MySQL, and this gives it the edge not only when developing for yourself, but especially when developing commercial software.

ShikhaTan Member

Cheers buddy, you’re right I am full of myself sorry, or rather full of my teenage self. Programming at the age of 7 when most ppl didn’t know what a computer was :p Yup, a complete and utter dork! But you’re absolutely correct, right now I’m a total bozo when it comes to programming i.e. I can’t do anything. I’m rubbish. I’m not even rubbish, I’m nothing.

That’s the answer I needed – php is complicated. I’ve looked up some basic php tutorials on w3schools and it seems easy but that’s just the basics I guess. The thing is unlike when I was 7 in this day and age there are free tutorials and as you say google and loads of scripts I can copy and tinker with…

I dunno. maybe you’re right and I should leave it out completely and get on with my real job.

As for impressing, this is a non-IT company. I impressed them by ‘fixing’ a computer they were having massive problems with the other day – all I did was click “ok” to an update prompt that had been coming up but everyone had been ignoring. My gran could impress these guys!

ShikhaTan Member

While I don’t know Java, I can say that I started in a basic programming language called LISP (Using EdScheme), and then switched over to C++, while also dabbling in some basic C. C++ seems like a great language to learn, as it teaches excellent concepts, and is very powerful. From what I hear, the only downside to C++ is that it’s so picky in forcing you to learn things the right way (via compiling errors), rather than trying to figure out what you meant (and essentially, may end up guessing incorrectly, causing run time errors, rather than compile errors, which can be worse, because they can be hidden).

ShikhaTan Member

I’ve altered your program slightly, but I didn’t run it, so it isn’t tested. But it should work.

In my opinion, it’s better (and easier) to use lists instead of arrays, so I build my example on lists, which will be converted to an array later on. This isn’t my best code either. I used most of your code. (And it’s been a while since I’ve coded C# Razz)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace onef
{
    public struct onef
    {
        public int studentid;
        public string studentname;
        public string coursename;
        public int dob;

        public void display()
        {
            Console.WriteLine("ID >> " + studentid);
            Console.WriteLine("Name >> " + studentname);
            Console.WriteLine("Course >> " + coursename);
            Console.WriteLine("DOB >> " + dob);
        }
    };

    public class program
    {
        private List list = new List();
        public static void Main(string[] args)
        {
            //Get the information from the user
            for(int i = 0; i < 10; i++)
            {
                get();
            }
           
            onef[] students = list.toArray();
           
            for(int i = 0; i < students.Length; i++)
            {
                students[i].display();
            }
        }

        public void get()
        {
            //Save the values in temporary variables.
            int studentid;
            string studentname;
            string coursename;
            int dob;

            //Get the values from the user
            Console.WriteLine("Enter Student ID:");
            studentid = int.Parse(Console.ReadLine());

            Console.WriteLine("Enter Student Name:");
            studentname = Console.ReadLine();

            Console.WriteLine("Enter Course Name:");
            coursename = Console.ReadLine();

            Console.WriteLine("Enter Date of Birth:");
            dob = int.Parse(Console.ReadLine());

            //Add the values to the list.
            addToList(studentid, studentname, coursename, dob);
        }
       
        private void addToList(int studentid, string studentname, string coursename, int dob)
        {
            //Could be done better, but I just used most of your code
            onef newStudent = new onef();
            onef.studentid = studentid;
            onef.studentname = studentname;
            onef.coursename = coursename;
            onef.dob = dob;

            //Add it to the list
            list.add(onef);
        }
    }
}
in reply to: C++ / CUDA
ShikhaTan Member

I searched for CUDA today in programming section, and found a single post without any answers, i think its coz 2 years back nobody knew CUDA well.

Did you developed some basic CUDA programming skills ? I am pursuing masters and want to analyse cuda’s performance by running a cryptographic algorithm on CPU as well as GPU. I need your help. Please reply.

ShikhaTan Member

Best way to approach programming to have to have definite project in mind. I started out trying to write a TV repair database system. You need to analyse what is done with all the objects involved. Then design the database to match all the required actions. Ultimately it was over engineered so ,my advice would be to keep it simple.

ShikhaTan Member

I fixed your script you can upload now images to the directory “uploads”.
Here is the code:




   Simple Upload Form



Choose a file to upload:
>Male >Female
ShikhaTan Member

What you need is something that makes your CV memorable. A good way to do this is to become a commiter on an OpenSource project, as you’ve already noticed, but there are other ways too. Most colleges host conferences – present a paper or session at one of these. It doesn’t even have to be a computing conference – you could present on the application of IT to the core theme of the conference. Alternatively, publish something. While it’s difficult to get something published in one of the top-tier journals like the ACM Communications, there are many others where you might get something accepted. Another idea might be if you patent something: while patenting software ideas is considered evil by many, it’s something that your lecturers are interested in doing, so discuss some ideas you have with them and see if they’re willing to push the idea through the college’s IP process.

Of course, if you look at what the major companies are using, they’re the things to focus on technically. For example, IBM use the Dojo Toolkit in their web solutions, so any company that’s an IBM shop (and many are) would be interested in Dojo skills. Other areas that are often overlooked by less experienced graduates are things like internationalization and accessibility, both of which are difficult to get right.

ShikhaTan Member

For a simple VB Chat client / server with IP/TCP try looking up MS Winsock.
http://www.vypress.com/lan_chat

Try IP Messenger and see its feature. Its a fully lan based chat messenger + file transfer programme

ShikhaTan Member

For a beginner, I’d suggest Python because it’s an interpreted language. Since you get an interpreter, you can type in “code” on the fly and see the result. This is very helpful when getting the hang of programming.

As for your “core” language, I’d say go with what you feel is right. Some people like C/C++ because of the performance, some like it because of the control they get. Many do not want to deal with all the little things in memory management, so they go with a managed language.

Just don’t forget to learn a bit of everything even if you have a “core” language; for example, don’t write a program to list all the files in your directory in C\C++ if your goal is to have your program work on Windows and Linux because it’s probably easier to just use a scripting language (i’m not saying you can’t use C\C++ for cross platform stuff).

ShikhaTan Member

IDK if this helps but it’s pretty simple code

r is the number of row  you entered
c is the number of columns you enterd

until [ $i -eq expr $r \* $c ]

this means while (i != r * c) (bcz its until not while..)
read a[$i]  // here you simply read and store into a[i].
i=expr $i + 1  // i++.
done // exit the loop

until [ $i `eq $c ]
do
       j=0;
       until [ $j `eq $r ]  //  j != r
       do
              n= expr $j \* $c  // n = j * c
              m= `expr $n + $i   // m=n+i
              b[$k]=${a[$m]}    // b[k] = a[m]
              echo "${b[$k]} \t"    // cout << b[k];
              k=expr $k + 1    // k++
              j=expr $j + 1    // j++
       done
       i=expr $i + 1     //i++
       echo "\n"
done
ShikhaTan Member

Why not just shift to Windows 7 and be happy about it as it’s not much different than Windows XP. Other than that extended support last till 2020 for Windows 7.
There’s always the Linux alternative to known as Ubuntu.

ShikhaTan Member

Windows XP looses support 8th April 2014, there is little hope latest versions of .NET being supported for XP.

ShikhaTan Member

New software typically takes advantage of new technology. It also typically provides additional features. If a software is released and does exactly what it did 7 years prior, how many people would care to buy it?

ShikhaTan Member

This is look much more clearer and understandable. Probably i did not get used to to coding and to analysis code with “classic” and short names for variables. I like how you explained to me. Examples in this way would be much more easier for beginners. Thank you very much i really appreciate it.

Viewing 15 posts - 46 through 60 (of 111 total)
en_USEnglish