User Profile

Collapse

Profile Sidebar

Collapse
Erjan
Erjan
Last Activity: May 10 '13, 10:14 AM
Joined: Jun 25 '11
Location: canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Should a programmer know 2 big things: game theory and statistics?

    1. game theory(for game dev / math background)
    2. statistics(to have good general math background)


    what do you think?
    See more | Go to post

  • Erjan
    started a topic unsupported major .minor version 51.0
    in Java

    unsupported major .minor version 51.0

    I am trying to use notepad++ as my all-in-one tool edit, run, compile etc.

    I have jre installed, i have setup my path variable to .../bin directory.

    When I run my "Hello world" in notepad++ , I get this message:

    Code:
    java.lang.UnsupportedClassVersionError: test_hello_world :
     Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown
    ...
    See more | Go to post

  • Erjan
    started a topic convert one letter string to a char
    in C

    convert one letter string to a char

    i m having trouble with converting a string to a char

    Code:
    function(char thing, int x , int y){
    ..................
    }
    
    int main(){
       string input ;
       function(input, 2,3) ;// does not work because it needs 
                             //the first arg to be char    
    }

    just a sample of what i m doing:

    the real stuff i use:

    function("I",2, 3)...
    See more | Go to post

  • Erjan
    started a topic delete node using only one pointer
    in C

    delete node using only one pointer

    i m trying to solve a textbook problem
    to delete a node using one pointer
    my code looks like this:
    Code:
    #include <stdio.h>
    #include <stdlib.h>
    struct node{
       int first ;
       struct node *next ;
    } ;
    
    struct node *add_to_list(struct node *lst, int n){
       struct node *newnode ;
       newnode = malloc(sizeof(struct node)) ;
       if(newnode == NULL){
    ...
    See more | Go to post
No activity results to display
Show More
Working...