Programming
Moderator: Moporators
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Programming
I started College yesterday and i got a programming class...
Harder than i thought because most of the students already have skills in Visual Basic.net ( the program we use ) and i have none
I never got those kinda classes in high school so , i'm a little lost but it's fun
I learn and i can do very basic things now...
1. Do you make some programming ? ( not necessarly VB.net )
2. Which program do you use ?
3. What's your greatest programming achievement ?
Harder than i thought because most of the students already have skills in Visual Basic.net ( the program we use ) and i have none
I never got those kinda classes in high school so , i'm a little lost but it's fun
I learn and i can do very basic things now...
1. Do you make some programming ? ( not necessarly VB.net )
2. Which program do you use ?
3. What's your greatest programming achievement ?
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
Re: Programming
1. a bit, not in vb though (haven't programmed there for exactly 3 years 2 months)The_BoneLESS wrote:1. Do you make some programming ? ( not necessarly VB.net )
2. Which program do you use ?
3. What's your greatest programming achievement ?
i'm teaching c++ programming too
2. you mean program language? usually some c++
3. soon demo version of something downloadable from internet
also some very nice progs (not related to elma)
[carebox]
1. Yes, or I can, but I don't do it much. Many languages, though: C++, C# and Java, Javascript, PHP etc.
2. SharpDevelop, Sun ONE Studio etc.
3. TableCreator
2. SharpDevelop, Sun ONE Studio etc.
3. TableCreator
Last edited by zworqy on 26 Aug 2004, 10:01, edited 1 time in total.
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
<yoosef> zworqy doesnt suck at anything
1. Yes, a lot. Pascal, VB, javascript, ASP, php...
2. Notepad for internet stuff , and VB6
3. Some games i've made and cool pages on the internet
2. Notepad for internet stuff , and VB6
3. Some games i've made and cool pages on the internet
Epsilon | TT : 45:42,82 | Elma Around the World | Smile levpack
1. html =)
2. notepad
3.
2. notepad
3.
Code: Select all
<html>
<head>
<title>MY H0m0page</title>
</head>
<body bgcolor="#123456">
hI! =)
</body>
</html>
max prgrammingtijsjoris wrote:1. html =)
2. notepad
3.Code: Select all
<html> <head> <title>MY H0m0page</title> </head> <body bgcolor="#123456"> hI! =) </body> </html>
i just do some vb and c++, pretty sax at c.
hi
I also have an expert degree in JavaScript!
l33t!
Code: Select all
<html>
<head>
<title>Me H0m0JaHvISkriEpTPag0r</title>
</head>
<body bgcolor="654321">
<form>
<input type="button" value="OMG HI!! =)" onClick="window.alert('OmG I d0eZ JaHvISkriEpT!1 =)')">
</form>
</body>
</html>
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
Not anymore
2. Which program do you use ?
Used Qbasic
3. What's your greatest programming achievement ?
Some quizgames and a quitbutton in delphi
Not anymore
2. Which program do you use ?
Used Qbasic
3. What's your greatest programming achievement ?
Some quizgames and a quitbutton in delphi
1. Know java and a fair bit of VB. Also learning PICassembler at the moment. Assembler gives you so much control.
2. Jens' File Editor
3. Probably minesweeper in java
2. Jens' File Editor
3. Probably minesweeper in java
team EM - why not ok?
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Link pleaseEpsilon wrote:... and cool pages on the internet
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
i started with mirc scripting and so far it's the only thing i made something good in. however i know javascript, c, tcl, which isnt far from saying java and php. if (i know some language) i also know some about others. well i know some lingo too, from shockwave. what else? i tried many, can't remember.
well in tcl i worked with eggdrops; bots on irc. i made chat bots, which were programs you could talk to. it's hard to say if they resulted any good, because they were at least as good as any other that i've seen. also some were megahal combinations.
so most things that i have had any use for is in irc. i made a bot that saves topics in channels that dont allow them, and saves them on file too as logging. i have made a colour script in mirc, that makes randomly colourful text. also i made a similar script that makes colourful text in bb/ipb code. i made a menu that sends the current song im playing in winamp to whoever i want to send it to. i also made the first battle script for elma battles.
also i have done a game in java: http://home.swipnet.se/technomilk/ent/jerker.html
and on that site's index i made a navigator thingy.
well in tcl i worked with eggdrops; bots on irc. i made chat bots, which were programs you could talk to. it's hard to say if they resulted any good, because they were at least as good as any other that i've seen. also some were megahal combinations.
so most things that i have had any use for is in irc. i made a bot that saves topics in channels that dont allow them, and saves them on file too as logging. i have made a colour script in mirc, that makes randomly colourful text. also i made a similar script that makes colourful text in bb/ipb code. i made a menu that sends the current song im playing in winamp to whoever i want to send it to. i also made the first battle script for elma battles.
also i have done a game in java: http://home.swipnet.se/technomilk/ent/jerker.html
and on that site's index i made a navigator thingy.
-
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
I do some programming too, started with java. Now the most of the time I'm modelling for school with a mathemathical programm called Matlab R12.
My biggest achievement is when I played a dutch f1 simulating game, called F1competition. I programmed about 300 lines which simulated the game in detail. It calculated for me what would be the perfect strategy in a race which was absolutely impossible to do with normal calculator. After 6 months playing the game I was first in standings of 12.000 participants, what was pretty cool. I told at the forum I used a simulation and others didn't think it was cool so I stopped with the game.
My biggest achievement is when I played a dutch f1 simulating game, called F1competition. I programmed about 300 lines which simulated the game in detail. It calculated for me what would be the perfect strategy in a race which was absolutely impossible to do with normal calculator. After 6 months playing the game I was first in standings of 12.000 participants, what was pretty cool. I told at the forum I used a simulation and others didn't think it was cool so I stopped with the game.
<img src="http://hem.passagen.se/zworqy/elasto/pics/apple_MK.txt" border="0" /> MopokuskiS
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Just a question :
In what language is Elma made ?
C++ ?
In what language is Elma made ?
C++ ?
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
there are many different programming languages, when they say, "what is elma written in" then mean, what language is it programmed in.BarTek wrote:ppl say "its written". Do they mean liek balaz is writing
"((if: teh wheelpressure='1009') value="2/na" then bounce(force='medium bug'))"
like i have this: no programing interest or skillz yet i tried some visual basicz in shcool long time ago. My question is what ihas been really written and not. Apperantly the graphic objects arent written but imported as external symbols but im curious how a "elma" was made from scracth mkai
yes, elma is written in C++
hi
elma is teh directx coded
-
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
Re: Programming
what about your game on your site?Jappe wrote:1. Do you make some programming ? ( not necessarly VB.net )
i know some c sharp,basics of c++ and visual basic but thats about it.
2. Which program do you use ?
i used notepad and some free compiler prog
3. What's your greatest programming achievement ?
we did some visual basic in school and i did some small calculator
and lottery simulator , it was very heavy on the computer thou but
i got the jackpot 7/7 correct after 700k tries (it randomly calculated 7
numbers and if all of those matched mine it stopped ).
anyway very noobish stuff
[/u][/i][/b]Code: Select all
I can use BBCode
- Morgan
- 36mins club
- Posts: 582
- Joined: 16 Dec 2007, 22:55
- Team: SPEED
- Location: Lębork, Poland
- Contact:
Re: Programming
[c++]
why it doesnt work when use input:
and i want output:
LOL img
im very beginner in this, so dont blame me much ;p
Code: Select all
#include <iostream>
#include <string>
using namespace std;
int main()
{
int i,t,x1,x2,j,k;
cin >> t;
for (i=1;i<=t;i++)
{
string s,s1,s2;
cin >> s1 >> s2;
x1=s1.length();
x2=s2.length();
if (x1==x2)
{
for(k=0;k<=x1*2;k++)
{
for(j=0;j<=x1;j++)
{
if(k%2==0)
{
s[k] = s1[j];
}
if(k%2==1)
{
s[k] = s2[j];
}
}
}
for(k=0;k<=x1*2;k++)
{
cout << s[k];
}
}
}
system("PAUSE");
return 0;
}
Code: Select all
1
abc def
Code: Select all
adbecf
im very beginner in this, so dont blame me much ;p
Re: Programming
you could do this in a simplier way :
Code: Select all
int main()
{
int i,t,x1,x2,j,k;
cin >> t;
for (i=0;i<t;i++)
{
string s,s1,s2;
cin >> s1 >> s2;
x1=s1.length();
x2=s2.length();
if (x1==x2)
{
s.resize(x1+x2) ;
for(k=0;k<x1;k++)
{
s[2*k] = s1[k] ;
s[2*k+1] = s2[k] ;
}
cout << s << endl;
}
}
system("PAUSE");
return 0;
}
- Morgan
- 36mins club
- Posts: 582
- Joined: 16 Dec 2007, 22:55
- Team: SPEED
- Location: Lębork, Poland
- Contact:
Re: Programming
thank u both, used totem's version, it works well
Re: Programming
actually that code before was completely wrong and this would not help:)milagros wrote:s[k] = s1[j/2];
s[k] = s2[j/2];
[carebox]
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
- C -> PHP with MySQL (and html, css) -> Java -> ActionScript -> R -> Ruby on Rails -> VB(A) -> a little bit python
2. Which program do you use ?
mostly vim
3. What's your greatest programming achievement ?
got gold medals in 3 consecutive years of a local olympiad, and made a facebook application about timetable for my university, with over 3000 users now
- C -> PHP with MySQL (and html, css) -> Java -> ActionScript -> R -> Ruby on Rails -> VB(A) -> a little bit python
2. Which program do you use ?
mostly vim
3. What's your greatest programming achievement ?
got gold medals in 3 consecutive years of a local olympiad, and made a facebook application about timetable for my university, with over 3000 users now
Hoping Elma can spread in Hong Kong... but... nearly impossible
[JAB] TT: 53:57:14...
[JAB] TT: 53:57:14...
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
ActionScript 3.0
2. Which program do you use ?
Adobe Flash CS3
3. What's your greatest programming achievement ?
currently making a game at school
ActionScript 3.0
2. Which program do you use ?
Adobe Flash CS3
3. What's your greatest programming achievement ?
currently making a game at school
- Kopaka
- 39mins club
- Posts: 6612
- Joined: 23 May 2002, 13:59
- Team: LAME
- Location: In a northern danish city beating YOUR record.
- Contact:
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
Started with some mircscript many years ago, forgotten a lot of that know
Been working with PHP for a couple of years now
Did some JAVA last spring in school, didn't like that too much
2. Which program do you use ?
Editplus
3. What's your greatest programming achievement ?
EOL site
Started with some mircscript many years ago, forgotten a lot of that know
Been working with PHP for a couple of years now
Did some JAVA last spring in school, didn't like that too much
2. Which program do you use ?
Editplus
3. What's your greatest programming achievement ?
EOL site
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
C++ basics.
2. Which program do you use ?
Dev C++
3. What's your greatest programming achievement ?
Nothing.
Would like to get myself really patiented to programming.
C++ basics.
2. Which program do you use ?
Dev C++
3. What's your greatest programming achievement ?
Nothing.
Would like to get myself really patiented to programming.
- nick-o-matic
- Kuski
- Posts: 872
- Joined: 27 Jan 2007, 12:53
- Location: Lappeenranta
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
Java
2. Which program do you use ?
Eclipse
3. What's your greatest programming achievement ?
FF-cup points calculator
I think I'll take some more programming courses at school next spring.
Java
2. Which program do you use ?
Eclipse
3. What's your greatest programming achievement ?
FF-cup points calculator
I think I'll take some more programming courses at school next spring.
Re: Programming
1. Java
2. NetBeans
3. some useless shit
2. NetBeans
3. some useless shit
Re: Programming
Today I got the XHTML book so I will max read it and get A in reading in school! 200more pages for A this "termin?" Season or wth its called Soon I will make site when fully understand these things. ( Elma site and CS maybe
- Morgan
- 36mins club
- Posts: 582
- Joined: 16 Dec 2007, 22:55
- Team: SPEED
- Location: Lębork, Poland
- Contact:
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
Pascal, C++ - basics
2. Which program do you use ?
Dev Pascal, Dev C++
3. What's your greatest programming achievement ?
Dunno
Pascal, C++ - basics
2. Which program do you use ?
Dev Pascal, Dev C++
3. What's your greatest programming achievement ?
Dunno
Re: Programming
C++, java and php. If someone counts html/css programming too, then those two too.
I use notepad++ for php, visual studio for C++ (because of the school) and JCreator for java.
I hev not yet made anything I would like to share with anyone.
I use notepad++ for php, visual studio for C++ (because of the school) and JCreator for java.
I hev not yet made anything I would like to share with anyone.
Re: Programming
nice topic
1. Do you make some programming?
ActionScript, Assembler, C, C++, Java (basics), JavaScript, Object Pascal, Pascal, Perl (basics, hate teh), PHP, SQL (basics). CSS, HTML, XML/XSLt, mircscript if someone counts them. Tried python but failed, not for me. Wrote couple of programs in Basic but didn't remember the language.
2. Which program do you use?
Notepad++, gedit, vim, Eclipse, Delphi 4-7, fasm, gcc, MVC++ 6-9, Turbo Pascal 7.
3. What's your greatest programming achievement?
What counts for greatest achievment - size, popularity, complexity, profit? The biggest program was about 3000 lines, kinda database for insurance company. Most popular were hacking tasks for computer security contest, I think. Complexity is hard to estimate, most complex are probably various patches for other programs. Most profitable are definitely sites and various databases but I haven't made any fortune with programming. What I am really proud of? Nothing :/
1. Do you make some programming?
ActionScript, Assembler, C, C++, Java (basics), JavaScript, Object Pascal, Pascal, Perl (basics, hate teh), PHP, SQL (basics). CSS, HTML, XML/XSLt, mircscript if someone counts them. Tried python but failed, not for me. Wrote couple of programs in Basic but didn't remember the language.
2. Which program do you use?
Notepad++, gedit, vim, Eclipse, Delphi 4-7, fasm, gcc, MVC++ 6-9, Turbo Pascal 7.
3. What's your greatest programming achievement?
What counts for greatest achievment - size, popularity, complexity, profit? The biggest program was about 3000 lines, kinda database for insurance company. Most popular were hacking tasks for computer security contest, I think. Complexity is hard to estimate, most complex are probably various patches for other programs. Most profitable are definitely sites and various databases but I haven't made any fortune with programming. What I am really proud of? Nothing :/
Re: Programming
I used to program a lot of fun things some time ago now i only do some electronic programmes shiat for school.
btw i just wrote yesterday for my gf a simple hangman, nice for 2 people with remote desktop (polish version)
btw i just wrote yesterday for my gf a simple hangman, nice for 2 people with remote desktop (polish version)
- Attachments
-
- ZGAD.zip
- (5.7 KiB) Downloaded 164 times
<Pawq> at a gym you have only 3 options: 1. have your eyes closed, 2. stare at yourself, 3. stare at others, all of which are either super boring or disgusting
Re: Programming
1. Do you make some programming ? ( not necessarly VB.net )
I used to program a lot years ago, when i was 10 or so. I programmed in a language made for game development, called DIV.
2. Which program do you use ?
There was only one program for DIV, div itself, it included everything to make games (graphic editor, text editor, compiler, etc)
3. What's your greatest programming achievement ?
Lots of mini games that were not awesome at all but i was really happy playing them
I also used Qbasic, it was my first programmin language I miss DOS...
I used to program a lot years ago, when i was 10 or so. I programmed in a language made for game development, called DIV.
2. Which program do you use ?
There was only one program for DIV, div itself, it included everything to make games (graphic editor, text editor, compiler, etc)
3. What's your greatest programming achievement ?
Lots of mini games that were not awesome at all but i was really happy playing them
I also used Qbasic, it was my first programmin language I miss DOS...
Re: Programming
i just started learning some javascript. so far i've only learned the basics from w3schools.com. with my small amount of knowledge i had a go at making a script that links a random css file each time the page is loaded. for testing purposes i made three css files (red.css, green.css, blue.css). this is my attempt:
this is an externally linked script in the <head> tags. it seems to work okay, but i'm no pro. did i do anything wrong here, or is it all legit?
Code: Select all
var cssName=['red','green','blue'];
var whichCss=Math.floor(Math.random()*3);
document.write("<link rel=\"stylesheet\" href=\""+cssName[whichCss]+".css\" type=\"text/css\" />");
Last edited by Lee on 11 Jan 2011, 11:59, edited 1 time in total.
Re: Programming
That seems right. However, I don't like using document.write at all. I always append elements to other elements, or change an attribute of an existing element. In your example I would do like this:
I don't know which one is better though. Don't even know how the document.write works actually. Where in the document does it write the thing you want to write with it.. o,o
Anyways, I've also been very into JavaScript lately. To be more precise, Ajax. JavaScript can be sometimes a bitch, I don't like it very much.
Code: Select all
var stylesheet = //name of the stylesheet;
document.getElementsByTagName('link')[0].setAttribute('href',stylesheet):
Anyways, I've also been very into JavaScript lately. To be more precise, Ajax. JavaScript can be sometimes a bitch, I don't like it very much.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
Beer battle winner 2014 and 2015
Re: Programming
programming is quite a handy thing... it's good money for such things... especially ajax nowadays
-
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
"leader status in the Elma against-the-system underground" - Abula
-
ElmaAutoGravityApples 2024
IncrElastoMania - Elma Simulation - Browser Game 2020
Elma Imager - Command Line Tool 2020
Re: Programming
thanks vj
atleast with changing just the href attribute, i can still have a linked stylesheet even if the user has javascript disabled.
atleast with changing just the href attribute, i can still have a linked stylesheet even if the user has javascript disabled.
Code: Select all
var cssName=['red','green','blue'];
var ranCss=Math.floor(Math.random()*3);
document.getElementsByTagName('link')[0].href=cssName[ranCss]+".css";
Last edited by Lee on 11 Jan 2011, 12:01, edited 1 time in total.
Re: Programming
Not exactly programming but I want to make a decent excel file and something is bugging me.
I'll explain you as it is: it is for League of Legends, it's like a helper to maximize your efficiency by giving you the best items to use in order to achieve the most damage output/tanking/whatever you want. You choose your champion and then it gives you your base stats (health, mana, armor, magic resist, movement speed, there are 10-20 of them). And then, you enter the further modifications from runes, masteries and stuff I don't need to go in detail with. The problem is that each champion has different stats and I'd want it to change them when you choose your champion. Like, let's say you pick Igge, then it will show his health, mana, etc. and if you change to Pawq, then it will show his health, mana, etc.
The problem I encounter is that I can't configure the cells to calculate something out of other cells, located elsewhere on the sheet, depending on the champion chosen. Like, Champion A is on the line 2, all his stats are from AA2 to AM2, let's say, and for the Health cell I need the AA2 and AB2 ones. Champion B is on the line 3, so I need the AA3 and AB3 ones.
Basically it would be, if champ A is chosen, use AA2 and AB2, and if champ B is chosen, use AA3 and AB3. It's not as simple as a If case in reality, because there aren't 2 champions, there are FIFTY-SIX. Imagine the pain writing 55 if's? For each stat?
So, I think there should be a pattern, like, the first champion has the first line and the 56th has the 56th line. But how do you make the cells use the right values without using 55 if's?
I could attach the file if needed.
I'll explain you as it is: it is for League of Legends, it's like a helper to maximize your efficiency by giving you the best items to use in order to achieve the most damage output/tanking/whatever you want. You choose your champion and then it gives you your base stats (health, mana, armor, magic resist, movement speed, there are 10-20 of them). And then, you enter the further modifications from runes, masteries and stuff I don't need to go in detail with. The problem is that each champion has different stats and I'd want it to change them when you choose your champion. Like, let's say you pick Igge, then it will show his health, mana, etc. and if you change to Pawq, then it will show his health, mana, etc.
The problem I encounter is that I can't configure the cells to calculate something out of other cells, located elsewhere on the sheet, depending on the champion chosen. Like, Champion A is on the line 2, all his stats are from AA2 to AM2, let's say, and for the Health cell I need the AA2 and AB2 ones. Champion B is on the line 3, so I need the AA3 and AB3 ones.
Basically it would be, if champ A is chosen, use AA2 and AB2, and if champ B is chosen, use AA3 and AB3. It's not as simple as a If case in reality, because there aren't 2 champions, there are FIFTY-SIX. Imagine the pain writing 55 if's? For each stat?
So, I think there should be a pattern, like, the first champion has the first line and the 56th has the 56th line. But how do you make the cells use the right values without using 55 if's?
I could attach the file if needed.
Re: Programming
I made this nice little number puzzle game: http://oktobia.org/playground/numberpuzzle/. Very much inspired by Tetravex, yes. Play and get to the Top scores-list!
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
Beer battle winner 2014 and 2015