199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Necrozze

Im doing this game for school and it's supposed to be finished real soon and then of course al the problems start coming up, the game now crashes, sometimes after a few seconds and sometimes directly on start. Don't really know why, a thought is that its doing to much …

Member Avatar for Necrozze
0
389
Member Avatar for nick.rechtien.5

In this program I am writing for class, I have to make a Paper Rock Scissor game using functions. I got everything written and everything seems to work until I quit the program and it's supposed to display the stats. It seems that the variables arent storing and being passed …

Member Avatar for NathanOliver
0
151
Member Avatar for shirolomons

Hi , I am a final year student, looking for some ideas for my final project. I had an idea of an audio processing program - it will get the notes out from a closed audio file. Does it sound too hard? impossible? My lecturer says that audio processing is …

Member Avatar for shirolomons
0
192
Member Avatar for ppstyle

Hi, I am making a richtextbox to html convertor, I have added features like bold italic underline left align right align center align etc. I found a code to convert richtextbox to html but i am not sure how to use that function. Public Shared Function FromRtf(ByVal rtf As RichTextBox) …

Member Avatar for ppstyle
0
322
Member Avatar for Red_Rain

Hey guys, Writing a project for school and having a little trouble. We are creating a social media program and the teacher never taught us to use databases so we have to store all the data in text files. One of the requirements is to for the users to be …

Member Avatar for mKorbel
0
256
Member Avatar for zebusman

Hi Friends I have just started learning Java.I am getting a problem may be a small one but i coundn't able to figure it out.so here is my Servlet code iam trying to insert data into database after submitting form iam getting **java.lang.NumberFormatException: For input string: ""** I want to …

Member Avatar for zebusman
0
378
Member Avatar for shijieru

Hi guys, I am implementing a website using jsp. And I am using <input type="file"> to read files from user. I want to use the same name attribute to get an array of fileproperty, but it doesn't work. Does anybody how can I do this correctly?

Member Avatar for IIM
0
212
Member Avatar for game06

i am tring to debug this problem for about a week but had no luck in it. ![522461a63915f3683bcd1e3e8f00d81d](/attachments/large/4/522461a63915f3683bcd1e3e8f00d81d.gif "522461a63915f3683bcd1e3e8f00d81d") Take a look at this image above. This is how i want the bullets to look like. shoot red lines. ![da7b3eb64b1486e6fec4b7c680889fe7](/attachments/large/4/da7b3eb64b1486e6fec4b7c680889fe7.gif "da7b3eb64b1486e6fec4b7c680889fe7") Now take a look at this image above. I …

Member Avatar for JamesCherrill
0
206
Member Avatar for Zevoxa

Hello, I'm trying to create a program that installs a directory and then runs some commands in a console of that directory that is installed. I think I could manage doing running the console commands, but I'm having a real hard time in trying to make my program install the …

Member Avatar for Zevoxa
0
112
Member Avatar for dhani09

This is my first PHP script, to add a user to my website but i keep getting these errors Cannot send session cache limiter - headers already sent Cannot modify header information - headers already sent mysql_num_rows expects parameter 1 to be resource boolean given I have a basic understanding …

Member Avatar for diafol
0
278
Member Avatar for KhizarIqbalEngr

Hi Everyone...!! Last Week, I Was Assigned A Project Of Building A Mine Sweeper Game In Console.!! I Start Working On It But I Don't Have Any Idea From Where Should I Get Started..!! I Want To Add Some Simple Graphics In My Game, But First I Want To Make …

Member Avatar for KhizarIqbalEngr
0
2K
Member Avatar for غادة

**Write a C++ program that will make use of the following structure and The typedef Statement: typedef int ArrayType[MaxSize]; The structure is the OneDArray structure, which contains the following data items: a- Name of array. b- Size of array. Use dynamic memory allocation (dynamic one-dimensional array) for storing positive numbers …

Member Avatar for owenransen
0
156
Member Avatar for dusto

Ok, I'm not sure how to format the readline to skip the header columns of the file that is being read in the code that I wrote/spliced in my class. I was wondering if anyone can point me in the right direction here. Thanks in advance! Private Sub btnLoadFromText_Click(ByVal sender …

Member Avatar for dusto
0
2K
Member Avatar for student125

I have to accept user input, a string, into a doubly linked list and print the output reversed and forward. My professor gave us the following program and told us to modify it. However, I cannot figure it out. /* Program to reverse a doubly linked list */ #include <stdio.h> …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for jinxmc

hi, how to write javascript code to validate first 2 textboxes that are generated from databses without "id" "name". eg:here everything comes from databse. name:<input type="text" id="{id}" name="{id}" class="textbox"/> "+" this feilds are generated with + button from database age:<input type="text" id="{id}" name="{id}" class="textbox"/> this does not have "+" here …

Member Avatar for IIM
0
482
Member Avatar for mferarri

i got this problem from: http://codingbat.com/prob/p178318 This is the question: > Given a string, return the count of the number of times that a substring length 2 appears in the string and also as the last 2 chars of the string, so "hixxxhi" yields 1 (we won't count the end …

Member Avatar for mferarri
0
242
Member Avatar for CHOCHOCHO

I got this assignment from my teacher the other day and i am having a hard time understanding it. I asked him for help and im even more confused. **I AM NOT ASKING FOR YOU TO DO IT. I AM ASKING FOR ADVICE AND HOW TO DO IT** Write a …

Member Avatar for tinstaafl
0
163
Member Avatar for laver68xo

I'm trying to take a file that looks like this: >taxon1 ACCGTGGATC CCTATTGATT GGATATTATC >taxon2 TTCATATGTA GGATTTCATA GATGGCCCCC And get it to look like this taxon1 ACCGTGGATCCCTATTGATTGGATATTATC I'm using a python script, so far this is what I have: #!/usr/bin/python import sys if len(sys.argv) < 2: print "usage: finalmyscript.py infile.txt" …

Member Avatar for HiHe
0
204
Member Avatar for ddannieellee
Member Avatar for mawar.melati.96930

Hi All, Help me please. I want insert to people_go table using checkbox. data.sql CREATE TABLE `people` ( `id` int(11) NOT NULL auto_increment, `p_id` varchar(20) NOT NULL, `name` varchar(50) NOT NULL, PRIMARY KEY (`p_id`), KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; INSERT INTO `people` VALUES (1, 'P001', 'Ana'); INSERT …

Member Avatar for LastMitch
0
931
Member Avatar for elbeato

I'm having trouble with cross-browser compatibilty with a jQuery click function. I want it to return the width of #bbox and have it play the animations based on what it returns. I have set the width of #bbox to 0px in my CSS as the starting state. THE PROBLEM: w …

Member Avatar for pixelsoul
0
789
Member Avatar for shakayu

PM bmx322 Hi All, I am integrating JFormer with CI. I am able to get the form to build but the validation doesn’t work and there are no POST vars nor any values in the jformer formValues on submission. I load the JS files in a header template and have …

Member Avatar for shakayu
0
334
Member Avatar for GaryWazHere

Hello, I'm trying to make my maze game object-oriented. The problem is my mazeArray. I'm a bit confused on how to use it correctly to draw out my maze. Map.h: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <process.h> #include <cstdlib> #include <ctime> using namespace std; #pragma once class Map { …

Member Avatar for tinstaafl
0
495
Member Avatar for mlesniak

Hello. I have a listbox that I would like to display and I would like to set a default selected item, which I will not be able to determine until run-time. Is it possible to set a default item in the program code? I have looked at the Index property …

Member Avatar for mlesniak
0
166
Member Avatar for ppstyle

Hi!I have a project with me which contains this html editor user control designed by someone else. I want to use this control in my project but I don't know how to copy it to my project. Please help me. Attached is the project from which I need to copy …

Member Avatar for tinstaafl
0
1K
Member Avatar for nouth

this time I have only one textfile and I want to remove all duplicate lines so that each and every single line in it is unique unto itself. with open("textfile") as w: for line in w: W = line with open("textfile") as d: c = 0 for line in d: …

Member Avatar for TrustyTony
0
362
Member Avatar for mossman mudas

i want to find the total space used for the files owned by me from my current directory. i have du -sh `find ./ -user $USER -type f` which gives 8.0K ./.a 8.0K ./t 4.0K ./cat/A 4.0K ./a using -s has no effect. using du -sh by itself includes the …

Member Avatar for mossman mudas
0
162
Member Avatar for Zevoxa

I am pretty new to Visual Basic, I will be going to programming school soon. As for now, I don't know really anything. Now to my question. I have a couple files I want to install into the C:/ directory. They're all put into a folder. I typed in this …

Member Avatar for Zevoxa
0
102
Member Avatar for subrata.roy.7583992

Hi I would like to know :- 1. after developing a program with vb 6 then I would like to run the setup n install it in different computer,but when i run it adodc not connected with database Can I connected adodc in my computer ? Because my intention is …

Member Avatar for Jx_Man
0
853
Member Avatar for kiran2012

Hi, My problem is, the Update query process is painfully slow. Every time user updates a value to a column, it is taking more than 1 min ! I have to update a cerain field Yes/No based on some other field values from the same table. Below is my code: …

Member Avatar for Reverend Jim
0
227
Member Avatar for akkbkht

Hello. Please guide me about how to get the options of select tab from mYSQL table. Where to insert php code and how to? Have a look on the code. <td><select name="tby" size="1"> </select></td> <td colspan="2">&nbsp;</td> </tr> <tr> <td colspan="4"><label>Issue/ Tests : <textarea name="issue" wrap="physical"></textarea> </label></td> Regards. Aamir Karim.

Member Avatar for akkbkht
0
262
Member Avatar for vinay7868

i am working through an purchase & sales report.i want to display the purchase report for daily basis using rdlc report how can i do that...can any one help me.....i use date.today to pass in database to fetch the record but how to display that record in report.. sqlcommand=" select …

Member Avatar for vinay7868
0
435
Member Avatar for asprin

I'm trying to execute a binary on my Linux web server. The binary is called 'phantomJS' which is used mainly to create screenshots of a webpage. I logged into my cPanel and found the following information about my server: Operating system : Linux Architecture : i686 So I went ahead …

Member Avatar for AminM
0
274
Member Avatar for Vasthor

map<string, vector<int> > // 42 xref(istream& in, // 43 vector<string> find_words(const string&) = split) // 44 error: [errorPic](http://s13.postimg.org/3y4vgjdev/compiler_error1.png) this is a cross-ref program that's written in the book, the exercise told me to create an improved feature for it. So, before I start with my work, I need to organise …

Member Avatar for Vasthor
0
434
Member Avatar for sundas shoukat

i am creating my user interface by using multiple panels in same form. placing them one after other. each panel visibility is controlled by the button. i am having trouble controlling the visibitity of panels. even BringToFront method isn't working

Member Avatar for virusisfound
0
105
Member Avatar for McLaren

I have revencly experimented with backbone, but did not use in real project yet. WHen I have oportunity I will try at work. Now considering what to study next. I hear lot of node.js is cool. But really don't understand why should I learn it. I tried googling, reading stackoverflow …

Member Avatar for McLaren
0
129
Member Avatar for jalpesh_007

i am new to spring framework. i have learned basic concept of Spring.Now i am trying to simply run one hello world application using spring. i am getting following error.i dont know why? i am using netbeans 7.2 and spring framework 3.1.1 Release. **hello.java** public class hello { private String …

Member Avatar for jalpesh_007
0
1K
Member Avatar for somjit{}

hi everyone :) im trying to open this project , but when i double click it , vs2010 opens with error on the forms. double clicking the forms shows that the file doesnt exist at the particular directory , even when its visibly there. its probably a trivial thing , …

Member Avatar for somjit{}
0
100
Member Avatar for tyler.dahle

void boss_animation() { for (int i = 0; i < 4; i++){ if( ! boss[i].drawable) continue; //Puts image of character on screen based on inputs from struct readimagefile(boss[i].frames[boss[i].currentFrame], boss[i].xCoord, boss[i].yCoord, boss[i].xCoord + boss[i].charWidth, boss[i].yCoord + boss[i].charHeight ); boss[i].currentFrame++; //increments the "frame" by one, thus only animating one image at a …

0
126
Member Avatar for Mrewan79

I've done the following code but I can't figure out how to get an output to come out; I used a structure to store both strings and doubles, and then created an array using that datatype. However I can't work out how to create an output. It wont let me …

Member Avatar for tinstaafl
0
160
Member Avatar for marvin.gorres.5

Hello guys, i'm new here. I would like to convert my .txt file which have the following content into an array of int which every elemnt in the array should only have 4 character inside. example: two[1]= 0x03; two[2]= 0x00; two[3]= 0x03; two[4]= 0xf5; This is the content of my …

Member Avatar for abhi_d_one
0
278
Member Avatar for mayankjain05

does bool work in c(by this i mean a data type that can take only two states 0 or 1 in order to save memory)? if yes then is it included in stdio or any other file is required to be included? same doubt for c++ also mention the syntax …

Member Avatar for mayankjain05
0
163
Member Avatar for unikorndesigns

Hi Guys, My website is showing the default screen we normally get when we buy a hosting account the first time. I have attached the screenshot. I tried to modify the web.config file. Still it doesn't change at all. i had uploaded my files and it used to work for …

Member Avatar for unikorndesigns
0
303
Member Avatar for aijaz110

i am creating website in that site i have to run news alert through javascript through event mouseover and mouseout plz help me how to perform that task in javascript?

Member Avatar for IIM
0
148
Member Avatar for Lynick

Okay so basically my problem is that I have to prompt the user for a set of floating point values once . If they do not enter the right data type then I have to prompt them again. If they dont enter the right type the second time I quit …

Member Avatar for Lynick
0
356
Member Avatar for GNRevolution

Hi there, Looking for some desperate help with a problem I am encountering. I have a third party product (bentley Geo Web Publisher) that allows you to specify an xslt to transform some tabular content into a HTML page. Everything worked fine until a couple of weeks ago when I …

Member Avatar for GNRevolution
0
155
Member Avatar for LastMitch

Hi I'm trying figure why I'm getting this error **Undefined offset: 1**. I'm practicing with **list()** function and with a **explode()** function. When I ran the code it kept mention this error: Undefined offset: 1 The line is this: list($bagsize, $candyprice)=explode("#", $_GET["size"]); The list is not an array. It's on …

Member Avatar for LastMitch
0
27K
Member Avatar for student125

I want to know how I can implement a function to open a file and read its contents into a linked list, and then print the contents reversed #include <stdio.h> typedef struct stack { char b[100]; int top; }stack; void push(stack *s,char k) { if(s->top==99) printf("\n Stack is full "); …

Member Avatar for Ancient Dragon
0
863
Member Avatar for john.gale.92102

The model is not overly complex. It has a list of items each of which is generated in its own form with its own submit button. Each submit button has its onw id. The first form returns what I need. When I view the results from the form, if I …

Member Avatar for LastMitch
0
172
Member Avatar for turpentyne

I have navigation, with a dropdown subnav that gives them two options (level 6 and level 10). If they click on one or the other, it loads "views.php" then uses .html to write the correct information to sections. The img src portion isn't working??? I also tried just using .html …

Member Avatar for EvolutionFallen
0
314

The End.