Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #3K
~11.8K People Reached
About Me

Third-year student at the department of information processing science of Oulu University, Finland. I'm specializing in software engineering.

Interests
Playing guitar and drums, composing music, reading fantasy novels, PC gaming, movies, all forms of escapism!
Favorite Tags
Member Avatar for bleedi

Hi, I've been searching all the internet for an answer for my problem, but none of the sites I've stumbled upon haven't given any results. So, I have a JList, held inside JSCrollPane, held inside JPanel inside JFrame. I have a MySQL database, and another block of code retrieves stuff …

Member Avatar for markzenz
0
2K
Member Avatar for bleedi

Hey there, I've got a small problem. I'm writing an UDP client-server system, and I wanted to use streams with UDP. I found [UDPOutputStream](http://www.java2s.com/Code/Java/Network-Protocol/UDPOutputStream.htm) source and pasted it into my project. Now, when I try to initialize it, it freezes. This is how I try to initialize it: outStream = …

Member Avatar for bleedi
0
270
Member Avatar for bleedi

Hi guys and gals, I'm writing a file parser, which reads "source code -ish" text from files. The text is usually in this kind of format: Module: { Submodule: { Property: Value ... } Submodule: { } } Module: { Property: Value } I've written a simple but hazardous reader …

Member Avatar for Ketsuekiame
0
630
Member Avatar for Cronicle8

Good morning, I'm coding a game which ovject is to capture the feed of a webcam, then apply some filters to detect movement, so far i've managed to get the webcam to work but when i apply the filters it says "Bitmap locked" i've managed to solve that error, right …

Member Avatar for Cronicle8
0
291
Member Avatar for bleedi

Hiya! I have a function that creates 3D meshes procedurally from the given parameters. It creates a four-sided box, which is (for example) 1.0 wide, 1.0 high and 100.0 long. The box is then subdivided into multiple parts, so if the aforementioned box is subdivided to three parts, it will …

Member Avatar for Momerath
0
248
Member Avatar for Freedom*

i want to create a program with the grades in a school. we have to find the average of the grades depending on how many courses the student has chosen. also, we have to find how many courses each studend has passed. - the user has to give the number …

Member Avatar for Mike Askew
0
116
Member Avatar for jrosh

I have a project named project1 in VS in a solution called Solution 'ShopEntry'. I want to have a copy of the project1 as project2 within the same solution. How can I do it without having errors. thankx in advance

Member Avatar for bleedi
0
95
Member Avatar for bleedi

Hey guys! I've got a small problem that I can't figure out. I have 2D arrays of arbitrary sizes, and they contain different characters representing different stuff (like 'a', 'b', 'c' etc.). Now, the problem is, I need to find horizontal and vertical lines of same characters and make new …

Member Avatar for bleedi
0
352
Member Avatar for Cenchrus

Hey everybody, I just made an application for Android, and In the developer console it reads as published, but when I search the application, it does not find it... any help on this?

Member Avatar for bleedi
0
123
Member Avatar for bleedi

Hey, I'm developing a processor-intensive app for Android, which includes nested loops. The development process is still going on, but I'm already trying to find ways to optimize the performance. And I need tips and tricks for it. :) Mainly I've been changing all the for-loops from (int i = …

Member Avatar for bleedi
0
226
Member Avatar for bleedi

Hiya, I wasn't really sure if this goes under Java or Game Development forums, so I decided to post it here. I'm making a simple "Scrabble" game, which checks letters placed on the table and tries to find if they form proper nouns. I have a list of words, and …

Member Avatar for bleedi
0
201
Member Avatar for bleedi

Hey, I'm working on a project where we have to stream files from a server app to clients. I have it all working nicely, but we have a special client type that cannot save files to HDD, not even temporarily. I can get the byte stream from server to this …

Member Avatar for CsharpChico
0
733
Member Avatar for bleedi

Hiya, I've got a small problem. I have an interface called "event", which represents a networking event. I have classes implementing this interface. Now, when my server app receives a new event, it checks the class of the event and acts accordingly. This works nicely when the implementing classes are …

Member Avatar for bleedi
0
157
Member Avatar for bleedi

Hi, I was programming with POSIX threads and I was using semaphores. All of a sudden the program didn't work anymore, and I started searching for the problem. It turns out that my first semaphore command "sem_open()" causes the problem. It returns value "0", or "SEM_FAILED", and sets errno to …

Member Avatar for bleedi
0
115
Member Avatar for bleedi

Hey, I have a bit of a problem. I have a class that uses C libraries to make a TCP connection, which is accomplished with the connect() function. Now, I'd like to use this class in a Qt program and make it inherit QObject. The problem is, since I need …

Member Avatar for jonsca
0
231
Member Avatar for bleedi

Hi, I have a little bit of a problem with my client / server apps. I'm trying to build a simple program that resembles a small instant messaging app. So far I've been working on the "user login" and "status change" parts, along with a query to get the status …

Member Avatar for nezachem
0
207
Member Avatar for bleedi

Hey, I'm trying to get a random number for a small game which lights up random lights. I can't figure out a way to get the number random. I've tried seeding the Random() function with current time, but it's not working. It always lights up the third light. Here's my …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for bleedi

Hey, I'm trying to compile a simple producer-consumer program with Qt, using QThreads. I get this error message when trying to compile: [CODE] In file included from /usr/include/qt4/QtCore/QThread:1, from producer.h:4, from mainwindow.cpp:3: /usr/include/qt4/QtCore/qobject.h: In copy constructor ‘QThread::QThread(const QThread&)’: /usr/include/qt4/QtCore/qobject.h:309: error: ‘QObject::QObject(const QObject&)’ is private /usr/include/qt4/QtCore/qthread.h:60: error: within this context In …

Member Avatar for bleedi
0
231
Member Avatar for bleedi

Hi, I'm having a problem with my C code. I have a program that fork()'s a child process. The child process waits a time period defined by command line parameter, then alarms the parent process. Now, the program has to handle SIGUSR1 and SIGUSR2 signals too. The first one should …

0
142
Member Avatar for bleedi

Hey, I've been trying to search for a nice, easy-to-read material about signals in C. So far I haven't found anything that could get through my gray brain mass. My university's material gives only a small surface scratch to the topic, and internetz hasn't been able to tell me much …

Member Avatar for Narue
0
102
Member Avatar for bleedi

EDIT: I found the solution already. I had to malloc() memory for rec_msg. :) Hi, I've got a little problem with my (unix) C program. I'm trying to make a HTTP request to fetch a page from a site. I can resolve the IP, make a socket, connect and send …

0
405
Member Avatar for bleedi

Hey, I have a problem in my database. I have these two tables: [CODE] Table "File": +----------+--------------+-----+----------------+ | Field | Type | Key | Extra | +----------+--------------+-----+----------------+ | idFile | int(11) | PRI | auto_increment | | path | varchar(255) | | | +----------+--------------+-----+----------------+ Table "Media": +----------+--------------+-----+----------------+ | Field | …

Member Avatar for bleedi
0
118
Member Avatar for Xeros606

I know that it's possible to "force" a class to have a certain function through interfaces, but is there any way to "force" a class to have and assign certain variables? Also, is there way to "force" a class to assign inherited variables?

Member Avatar for apines
0
107
Member Avatar for bleedi

Hi! I'm building a program which connects to a MySQL server. The program saves the server passwords in SHA format. There's one class responsible for converting and checking the passwords, and another one for DB connection. Now, when the user starts the program, (s)he types in the username and password. …

Member Avatar for bleedi
0
1K
Member Avatar for bleedi

Hey! I've got a SELECT query which fetches rows based on a search string using LIKE command. I was wondering, how could I make it to skip "The " from the beginning of the value? For example, I have TV series listed in the database, like "Futurama", "The Office", "The …

Member Avatar for d5e5
0
181
Member Avatar for bleedi

Hey, I was just wondering about searching a binary tree for the smallest / the largest value. Normally, the smallest is found by following the left branch until the last leaf is found. But what if we have a non-optimizing tree like this (8 being the root): 8 - 10 …

Member Avatar for Momerath
0
172
Member Avatar for effizy

I am new to C++ or any form of programming language. Would appreciate any practical tips on: - approaching problems - techniques on writing codes - rule of thumb for writing codes - fixing errors - how to define and use(call) functions - loop - array - float, double - …

Member Avatar for Jackk123
0
135
Member Avatar for bleedi

Hey, I've got a bit of a problem: [CODE] vector<BaseClass*> stuffvector; BaseClass* temp = new DerivedClass(par_a, par_b); stuffvector.push_back(temp); delete temp; [/CODE] This causes the program to crash. I have virtual destructor, so the DerivedClass's destructor should be called just fine. Does it have something to do with the vector? 'Cause …

Member Avatar for mrnutty
0
129
Member Avatar for effizy

Hello all, I am completely new to c++ and have no idea what am doing or should be doing but am ready to learn. My first problem is to write a code "to calculate average score of uncertain numbers of student and the output should be (number of students,total points …

Member Avatar for bleedi
0
112
Member Avatar for bleedi

So, here's my problem: I have a superclass: [CODE] Class SuperClass { virtual someMethod() = 0; } [/CODE] ... and then I have multiple classes that inherit SuperClass. Now, if I want to put objects made from the subclasses to a single vector<SuperClass>, how could I get the abstract function …

Member Avatar for bleedi
0
435