Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~20.9K People Reached
Favorite Tags
c++ x 32
sql x 23
php x 22
list x 12
Member Avatar for Joemeister

I'm trying to do a simple a database SQL script where I simply need tocreate a database as well as 4 tables within. So far I'm getting a very annoying error that states: There is already an object named 'DEVICE_TYPE' in the database. Why, I don't know? Any help regarding …

Member Avatar for erikko
0
279
Member Avatar for Joemeister

I am quite new to SQL but I was wondering how to achieve the following. How do I get specific values that fall in the year 2013 when the date format in the table is looking something like this: 1 94 pH 02-02-2012 11:48 AM 1200001 2 103 pH 09-06-2012 …

Member Avatar for Reverend Jim
0
170
Member Avatar for Joemeister

I want to know how to achieve the following: I want to convert a varchar to a date format but so far I'm not very successfull... My date (varchar) looks something like this: 02-02-2012 11:48 AM And I want to convert it to the following this: dd-mm-yyyy To be able …

Member Avatar for Joemeister
0
288
Member Avatar for Joemeister

Hi guys, I'm getting a simple error and I need your help. I want to display every object in a list by returning that object as a string but I'm getting the following error: The name 'myBikeList' does not exist in the current context My code: List<Vehicle> myList;//= new List<Vehicle>(); …

Member Avatar for Joemeister
0
273
Member Avatar for Joemeister

Hi guys, I Googled this till the end and can't find a solution to this. What I want to do is the following - I have Runners with attributes like their Name, ID, Position and Time. All those are added for each runner in a listbox, seperated by commas. Like …

Member Avatar for djjeavons
0
368
Member Avatar for Joemeister

Hi all, I'm trying to access a list in a class made in another class and display it in a listbox but its not working. I most probably have to make a small change to be able to get it to work. So please check in the code if you …

Member Avatar for djjeavons
0
5K
Member Avatar for Joemeister

Hi everyone, I want to know if its possible to do the following: I have 2 users and 2 forms. When user A (Admin) logs in on the Log In form, the Main Form appears with ALL its buttons enabled (For editing purposes). BUT when user B (Normal user) logs …

Member Avatar for Joemeister
0
178
Member Avatar for Joemeister

Hello, I was wondering if you can supply me with information regarding the following. I have two forms - form A and form B. In form A I must choose two teams using two comboBoxes for each. When I click "Continue" which is a button - I want to be …

Member Avatar for EclipticalD
0
197
Member Avatar for Joemeister

Hi all, I was wondering if you can help me out with this. I have a dataGridView with a couple of books saved on it. When I click on a book, the book's story loads in a richTextBox. When I change that text and want to save it I want …

Member Avatar for Joemeister
0
184
Member Avatar for Joemeister

What I want to do is add videos to a list available for rent. In the “main” form when I click “Add” then the frmAddVideo appears where I need to insert all the video’s information. (This works 100% but…) In the frmAddVideo form there is a comboBox with values “Yes” …

Member Avatar for Joemeister
0
264
Member Avatar for Joemeister

I am currently working on a small project. How it works is a passenger must book where he/she wants to sit on plane. Using a DataGridView he/she can pick a seat except in the ilse. The DataGridView has 7 columns and 5 rows. The ilse is occupying the whole 3rd …

Member Avatar for ddanbe
0
758
Member Avatar for Joemeister

I have troubles trying to display a list of items/objects in a array. What I'm doing is I'm adding students with a name, surname, age, and marks for subjects (Properties) to an array. If I added 4 students in this manner to the list I want to display all the …

Member Avatar for Joemeister
0
285
Member Avatar for Joemeister

Hello all, What I am doing is the following: 1. Receiving an expression 2. Instantiating Variables 3. Convert the expression from infix to postfix 4. Evaluate the expression. Now, in my evaluate function the following operators are working: + - * / and ^ I am having trouble to get …

Member Avatar for マーズ maazu
0
884
Member Avatar for Joemeister

I want to know how I can do this: 1. Find "sqrt" in a string 2. Replace "sqrt" with only "#" I have the following code but its not working. Why? size_t found = 0; found = modifiedExpr.find("sqrt"); if(found!=std::string::npos) { modifiedExpr.replace(modifiedExpr.find(sqrt),sqrt.length(),"#"); }

Member Avatar for L7Sqr
0
195
Member Avatar for Joemeister

Let me explain what I want to do: I want to change a expression like this: x * (2 + 3) - (y + 1) to this: 5 * (2 + 3) - (6 + 1) using this: instVar('x', 5); instVar('y', 6); The problem is I get the following output: …

Member Avatar for iamthwee
0
161
Member Avatar for Joemeister

I am getting errors when I'm trying the following: instantiateVariable(string startingExpr, char var_, int val_) { int sizeArray = startingExpr.length(); //Convert the int into a char/string int number = val_; string newChar = ""; ostringstream temp; temp << val_; newChar = temp.str(); //Searching for the variable in the array for(int …

Member Avatar for iamthwee
0
294
Member Avatar for Joemeister

Hello all, I am getting 3 errors when I try to use stacks when I want to evaluate a postfix expression. I am not very experienced with the usage of stacks so please be patient with me. Here is my code: //The postfix parameter is a postfix string that was …

Member Avatar for iamthwee
0
325
Member Avatar for Joemeister

I am trying to transform a infix mathematical expression into a postfix expression using the shunting yard algortihm but can only get so far by writing the pseudo code because I know exactly what to do through logical thinking but can't write the code that will help me do it. …

Member Avatar for iamthwee
0
597
Member Avatar for Joemeister

I am working on how to convert a infix to postfix expression and then calculate that converted postfix expression. I have the following thought process on how to do this. 1. Receive a infix expression (Through the main file) 2. Instantiate the variables in this expression through a function called …

Member Avatar for L7Sqr
0
158
Member Avatar for Joemeister

Hey all, I was wondering about this piece of code on how to make it simpler to find the needle in the haystack for example "abbaabbaabb", "abba" - the needle, "abba" is found 2 times in the haystack "abbaabbaabb". I have this code: unsigned int substringCount(const std::string& strng, const std::string& …

Member Avatar for Joemeister
0
2K
Member Avatar for Joemeister

Hey everyone! I have a members.php page/file in which i want logged in users to see the other users registered in the database. I'm not exactly quite sure how to do this and I'm struggling quite a while now with this so your help will be VERY much appreciated. I …

Member Avatar for Webville312
0
1K
Member Avatar for Joemeister

Can you perhaps tell me why I'm getting this error? I'm trying to upload a image to a database through php and I'm getting this error the whole time in my picUpload.php These are the errors I'm getting: [CODE] Warning: move_uploaded_file(avatars/beetgejo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or …

Member Avatar for jamied_uk
0
2K
Member Avatar for Joemeister

I'm struggling very hard to get this to work and I don't know what I'm doing wrong. I have a register page that I want to take the data inserted into the form and INSERT it to the database with jQuery and AJAX. I'm not very experienced with AJAX AND …

Member Avatar for stanley87
0
3K
Member Avatar for Joemeister

Hi fellow programmers! What I want to do is this... * I have a list of registered users * next to each user is a link "Add as friend" * user_1 clicks the link to add user_2 * user_2 now needs to confirm or deny the request WILL THIS TABLE …

Member Avatar for diafol
0
117
Member Avatar for Joemeister

Hi everyone! Ok, let me quickly explain what I want to achieve. I have two tables. The first table is Requests and it looks like this [CODE] +------------------------------+ | Requests | +----+-------------+-----------+ | id | user_from | user_to | +----+-------------+-----------+ | | | | | | | | | | …

Member Avatar for stoopkid
0
115
Member Avatar for Joemeister

I want the post_delete column to generate unique id's so that when I want to delete a comment for e.g. I can refer to the post_delete's value. [B]Here is my users TABLE[/B] [CODE]CREATE TABLE users ( user_id INT(8) NOT NULL AUTO_INCREMENT, user_name VARCHAR(30) NOT NULL, user_pass VARCHAR(255) NOT NULL, user_email …

Member Avatar for smantscheff
0
778
Member Avatar for Joemeister

Hi! So I managed to upload the picture via php to a folder BUT my problem now is that I want to INSERT the location path of the uploaded picture to the user's pic_location in the database and I don't know how the query will look if I want to …

Member Avatar for lps
0
216
Member Avatar for Joemeister

I'm using sessions to receive my info from my database table... But I'm not quite sure how to get a image because if I just say this: [CODE]echo "<img src='" . $_SESSION['pic_location'] . "' />";[/CODE] I only get like a little black dot thingy. I don't know if one could …

Member Avatar for diafol
0
98
Member Avatar for phfilly

Hi guys! I got a problem with my logging in system. I can connect to my database with the code: [CODE]session_start(); include('header.html'); $page_title = 'Home Page'; $mail = $_POST['email']; $password = $_POST['password']; $msg =''; if(isset($mail,$password)){ $con = mysql_connect('127.0.0.1','root',''); if(!$con) { die('Could not connect: '.mysql_error()); } else{ echo "Connected!"; } } …

Member Avatar for phfilly
0
168
Member Avatar for Joemeister

Hey everyone! I'm currently busy learning jQuery and developing a jQuery slideshow and I have a few problems just with the scrolling of the thumbnails of the images. I want to click on a thumbnail to show me a 'larger' version of it and the thumbnails must scroll with buttons …

0
73