Any programmers on CF?

I consider HTML and CSS as 'display languages'. They have only a few logic functions.

JavaScript is a programming language because I can build things that require large amounts of logic with JavaScript.
 
I know some web stuff:

php
html
java script
css

I know some OS X stuff

apple script
shell

Unix/Linux (same as OS X for the most part)

shell


I want to teach myself ruby, python, and perl one of these days but that will have to wait until I get the time to learn it.
 
I know some web stuff:

php
html
java script
css

I know some OS X stuff

apple script
shell

Unix/Linux (same as OS X for the most part)

shell


I want to teach myself ruby, python, and perl one of these days but that will have to wait until I get the time to learn it.
Python's pretty easy, and fast.

I need to set up a web server soon so I can learn more PHP.
 
I can program some basic stuff in Delphi- a programming language based on pascal. I'm taking computing at college for my AS levels at the mo, hoping to keep it for my A levels.
 
C/C++, Java, Perl, PHP, VB6, a bit of COBOL and a bit of RPGIV. If you want to count APIs OpenGL, DirectX and some Win32 stuff.

edit: don't know if SQL counts, PL/SQL as well.

:rolleyes: show off :P

Jk

i can kinda do some HTML but thats it, i'd like to know C++ and/or Java but its something i just cant get my head round.

Kinda off topic but can some post or PM me a C++/Java code to like bring up a window with 2 text boxes, 1 for a file and 2 for were the file should go and a button to copy the file.
i know it sound lame but i just wanna see what something simple like that would look like and try to understand it.
Thanks
 
Code:
#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    size_t len = 0 ;
    const char a[] = "c:/a/a.exe" ;
    const char b[] = "d:/b/b.exe" ;
    char buffer[BUFSIZ] = { '\0' } ;

    FILE* in = fopen( a, "rb" ) ;
    FILE* out = fopen( b, "wb" ) ;

    if( in == NULL || out == NULL )
    {
        perror( "ERROR!" ) ;
        in = out = 0 ;
    }
    else    
    {
        while( (len = fread( buffer, BUFSIZ, 1, in)) > 0 )
        {
            fwrite( buffer, BUFSIZ, 1, out ) ;
        }
    
        fclose(in) ;
        fclose(out) ;
    
        if(  remove(a) )
        {
            printf( "Success" ) ;
        }
        else
        {
            printf( "ERROR!" ) ;
        }
    }

    return 0 ;
}

That'll do it, but you'd have to change the filepath yourself.

EDIT: I didn't test this, BTW.
 
C/C++, Java, Perl, PHP, VB6, a bit of COBOL and a bit of RPGIV. If you want to count APIs OpenGL, DirectX and some Win32 stuff.

edit: don't know if SQL counts, PL/SQL as well.

Code:
#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    size_t len = 0 ;
    const char a[] = "c:/a/a.exe" ;
    const char b[] = "d:/b/b.exe" ;
    char buffer[BUFSIZ] = { '\0' } ;

    FILE* in = fopen( a, "rb" ) ;
    FILE* out = fopen( b, "wb" ) ;

    if( in == NULL || out == NULL )
    {
        perror( "ERROR!" ) ;
        in = out = 0 ;
    }
    else    
    {
        while( (len = fread( buffer, BUFSIZ, 1, in)) > 0 )
        {
            fwrite( buffer, BUFSIZ, 1, out ) ;
        }
    
        fclose(in) ;
        fclose(out) ;
    
        if(  remove(a) )
        {
            printf( "Success" ) ;
        }
        else
        {
            printf( "ERROR!" ) ;
        }
    }

    return 0 ;
}
That'll do it, but you'd have to change the filepath yourself.

EDIT: I didn't test this, BTW.

Thanks Dude
is this Java or C++? and if i compiled it what it give me like a .exe file?
 
That's C++, and yeah, it'll give you an exe if you compile it.

fair enough, i still dont understand it though :o.
Thanks again for that though, here's a cookie,
big_Chocolate_Chip_Cookies.jpg
:D:D:D
 
Back
Top