199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TheWind147

Hi! I made a program that accepts random numbers, create a binary tree from it, then traverse it using in-order, pre-order and post-order traversal. The program is working well but my instructor added something else, when the user input numbers, it should be arranged just like an actual tree. The …

Member Avatar for TheWind147
0
4K
Member Avatar for G_Waddell

Hi All, I know this may seam odd but I'm getting an error navigating through a datagrid of an invalid cast. The trouble is it is of the same types!! I working on customising some Sage code and in the form there is a datagrid that is populated by a …

Member Avatar for G_Waddell
0
255
Member Avatar for 3nrichedd

hello, I am lik 98% done with this assignment where the user enters a number, and then it will output if you guessed the right number, or if you have any matching digits, so for example, the if the random number is 24 and the user inputs 20 it should …

Member Avatar for poojavb
0
241
Member Avatar for saadi06

Hi, I am trying to integrate phpbbforum in my website. I have been successfull in adding the data of the user in the table of my website as well as my form user table.Now I am trying to make a single sign in for the user. It means that if …

Member Avatar for pritaeas
0
225
Member Avatar for vizz

<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <div id="navcontainer"> <ul id="navlist"> <li><a href="#">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> <script type='text/javascript'> $(document).ready(function(){ $('#navlist li').click(function(){ $('#navlist li').hide(); $(this).show(); }); }); </script> This hides li except clicked one. How to show all li again when clicked on …

Member Avatar for Airshow
0
1K
Member Avatar for jeanbarca

Hello guys i am writing a c++ code that should do the following: 1- Creating a stage group just like the champions league first round consisting of 4 teams each on has 4 attributes ( points, gf, ga, gd) 2- The user must be asked to enter each team name, …

Member Avatar for jeanbarca
0
308
Member Avatar for VenusCrystal

Hi, I have a icon which on mouseover action i'm changing to another icon little bigger and with a tooltip. This icon is placed inside a table row before the text data. When mouseover happens it moves the text data to right and new icon is displayed. I dont want …

Member Avatar for VenusCrystal
0
140
Member Avatar for jhedonghae

hi again everyone...i'am currently making an enrollment system and it requires to be a LAN..does anyone knows how to make a system become LAN?

Member Avatar for jhedonghae
0
150
Member Avatar for mxadam

I have a text file which will look like this :Hand 1: :Hand 2: :Hand 4: :Hand 3: :Hand 3::Hand 1: :Hand 2: :Hand 1: :Hand 4: :Hand 4: :Hand 3: :Hand 3: :Hand 3::Hand 4: So now what I want to know is how do I get the maximum …

Member Avatar for Mitja Bonca
0
197
Member Avatar for acfalcon2001

I'm trying to do an XSLT transformation that requires that I copy certain parts of the document multiple times and concatenate it to other individual parts. I'm working with xsl:copy and wildcards characters and coming up short on the output (I'm really trying to limit how many elements/attributes I have …

Member Avatar for Mike Askew
0
113
Member Avatar for Verygoodguy

I have my web application up and running on my production server. It uses a form for logging in. But there is a little problem with some usernames that we working fine previously and suddenly stoped working. When these users try to log in the server reports that the user …

Member Avatar for Verygoodguy
0
162
Member Avatar for A_S!

I have this code is about delete rows in table with confirm. everything is correct and work but in confirm when I click cancel not working it delete row I want to konw wate is the problem when clicking cancel here is my code <script type="text/javascript"> function show_confirm() { var …

Member Avatar for veedeoo
0
364
Member Avatar for coder_10

I am trying to read a file from an offset till end of file: int i,sizeb=210; char *buffer; //[1024]; FILE *f; f = fopen("myfile", "rb"); printf("Reading file.\n"); fseek(f, sizeb, SEEK_SET); long s = ftell(f); //rewind(f); fread(buffer, s, 1, f); fclose(f); But I never get the right result. Also when I …

Member Avatar for coder_10
0
2K
Member Avatar for TriaL11

Hi Im having a problem in my search.. I have a listbox named listbox1 then a button beside a textbox for searching records inserted inside the listbox.. but when I dont type anything, the listview items gone.., what is the best way to solve this? :) Thanks

Member Avatar for poojavb
0
245
Member Avatar for paoi00

My textbox6 represents the dateprinted of my asssessment form.. i code it like this : TextBox6.Text = My.Computer.Clock.LocalTime.Date then in the my SAVE Button coded like this : Dim cn As OleDbConnection If TextBox1.Text = "" Then MsgBox("Enter a Student Number! ", MsgBoxStyle.Information, "Warning") ElseIf TextBox1.TextLength = 9 Then con …

Member Avatar for poojavb
0
192
Member Avatar for AT--O

**Precedents:** Using visual basic express 2010 on windows 7 pro 64b. Solution one CLB is a class library with multiple projects. Solution two WFA is a windows form application with a reference to one of the CLB projects .dll located in the bin release folder (not the debug folder). **Problem:** …

Member Avatar for pardeep3dec
0
522
Member Avatar for oldSoftDev

I am reading from a file and creating two lists, then sorting them after sorting I am trying to compare each elements number of occurances in a list but printing them with that number for example if a list is something like {1,2,3,3,3,5,5,5,6} then I want to print a report …

Member Avatar for TrustyTony
0
218
Member Avatar for pce369

I wrote a linked list program in C++ which compiles and works well. But I have been told that a) I have to have two separate structs instead of one that contains both the info and the node; and, b) that I have to use two pointers instead of the …

Member Avatar for Labdabeta
0
430
Member Avatar for vlady

Hello I try to get py output (s_subject) to a web bage table using html code. Thing is that result is in one line. I'd like to have it for each subject one line. Pls can you show me how to make it? Example: Predmet: maths fyzics history here is …

Member Avatar for woooee
0
192
Member Avatar for jone kim

I want to design: 1. address class ->using dictionary data structure where items are; state, city and street for individual person 2. name class -> person's first and last name 3. display class -> searches for the given name and displays the address of that particular name my questions are: …

Member Avatar for woooee
0
156
Member Avatar for jigglymig

I think I am comparing something incorrectly since it does take in my input and tells me no shortest path.. here is example input and output... 5 7 0 1 1 0 2 2 1 3 6 1 4 4 2 3 5 2 4 7 3 4 3 you …

Member Avatar for jigglymig
0
203
Member Avatar for cjohnweb

I've considered myself somewhat of a procedural PHP expert, there is nothing I can't solve...Except this. You know when you try to declare a function that already exists and in the error you get a reference to where the function is located, the file and line number? Well, I am …

Member Avatar for veedeoo
0
179
Member Avatar for MR_88

Hi guys, I'm trying to use the random number generator as part of the GSL library and it is working fine for a few hundred 'rounds' of my code (it is used quite a few times per round) but then i get an error message in the command window: [CODE]gsl: …

Member Avatar for zp0402
0
1K
Member Avatar for glut

How can I read memory from a selected process? I'm using the [ReadProcessMemory](http://msdn.microsoft.com/en-us/library/windows/desktop/ms680553%28v=vs.85%29.aspx) function and I don't understand the 2nd parameter (lpBaseAddress). Could anyone help me with this, or tell me another way to read memory from a process? This is my function for reading memory, which I pulled off …

Member Avatar for glut
0
904
Member Avatar for crazy99

Hi I'm trying to build two seperate dictionaries with a file thats arranged in this format. I need to take the name's reverse it so first name then last name, for the first dictionary I need to take the first name as the key and the other names in the …

Member Avatar for crazy99
0
342
Member Avatar for dancingdophie

So the program is supposed to display the box like this (for LIST ALL TRANSACTIONS) : List all transactions: ID Type Amount 0 check 50.00 1 svr.chg 5.15 2 deposit 40.00 3 svr.chg 0.10 the box displays other transactions; it saves the old and new ones and display them one …

Member Avatar for dancingdophie
0
241
Member Avatar for M.S.

Hi I found this script from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189858 it uses getopt module for managing cmd arguments, but I need it to work on mobile phones. I want to make a Mobile app using this script but I cant figure out how to change the comand Args to simple raw_inputs. can somebody …

Member Avatar for M.S.
0
412
Member Avatar for afidah

hello....anybody can help me? acctually,now i'm doing some php system... i create Sistem Kehadiran... but it can record one time only... can anybody help me? This is coding of my system... rekod2.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> …

Member Avatar for afidah
0
343
Member Avatar for nyfan68

I have a problem that calls for me to Write a simple web server that recognizes only the GET request. When a client connects to your server and sends a command, such as GET filename HTTP/1.0, then return a header HTTP/1.1 200 OK followed by a blank line and all …

Member Avatar for |-|x
0
206
Member Avatar for selin4

int main() { FILE *dp; char name[15]; char sname[15]; int no; char department[10]; char sex[3]; char city[15]; int age; int phone; int num; dp=fopen("veri.dat","r"); if(dp==NULL) { printf("file couldnt opened\n"); return 1; } printf("enter student number:\n"); scanf("%d",&num); while(!feof(dp)) { fscanf(dp,"%d",&no); if(no==num) { printf("%s%s%d%s%s%s%d%d",name,sname,no,department,sex,city,age,phone); } } fclose(dp); system("pause"); return 0; } I …

Member Avatar for zeroliken
0
96
Member Avatar for ashhadiqbal

I m having this problem while executing search > Notice: Undefined variable: i in D:\xampp\htdocs\search.php on line 23 > > Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\search.php on line 35 . here is my source code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for |-|x
0
236
Member Avatar for Niner710

Hi, I have a dictionary with the key as a tuple. x = { ('AA',1,3):0.56, ('BB',0,3):0.70, ('AA',1,3):0.10, ('CC',1,3):0.60 } I would like to get all the values where the key is equal to... ('AA',1,3) However, when I use it only returns the last value where ('AA',1,3) is found. x.get( ('AA',1,3) …

Member Avatar for TrustyTony
0
3K
Member Avatar for gethelpcpp123

I have to write a program that checks whether a sentence is a palindrome or not.I had no problem checking a word, but checking a sentence that contains spaces and quoatation marks made results incorrect. Basically to solve the problem and ignore the spaces and marks, I copied the initial …

Member Avatar for Labdabeta
0
223
Member Avatar for kevindougans

Hi guys, Can anyone help me figure out a bug in ie9 i'm having? I'm on a mac and using parallels to run ie9 and its a pain in the neck as I can't get firebug lite working to help debug with this. Anyway http://test.cafemamboibiza.com/en on the right hand side …

Member Avatar for Troy III
0
122
Member Avatar for Dani

Just as the title asks ... can selenium be used to automate forum spamming? If so, what are some techniques to combat that?

Member Avatar for cereal
0
169
Member Avatar for SAM2012

Hi All, I am working on a program where I want to keep the length of message in bytes to further working on it. the message got this string in it. [CODE] message^ m = gcnew message("usa.weather");[/CODE] I have to keep the length of this argument that is routing key …

Member Avatar for WaltP
0
177
Member Avatar for don't give up

hello i want display ( topic and author and date ) if user choose then click "save " how can do that ? this is my code: <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('can not connect'.mysql_error()); } mysql_select_db("scms", $con ); $result = mysql_query("select * from others"); $num = mysql_num_rows($result); $row = mysql_fetch_array($result); …

Member Avatar for broj1
0
315
Member Avatar for hwoarang69

i want to create array of pointer. "aa" "ab" "ac" i tried many thing but it still give me error. char *table[3] = "aa", "ab", "ac"; or char *table[3]; *table[0] = "aa"; *table[1] = "ab"; *table[2] = "ac";

Member Avatar for hwoarang69
0
169
Member Avatar for bsabowala

Lets say that i have a .txt file with the following text: " Hellow lol lololo hahahahahhahaha hyryryryryryryr " I want to add all that to the clipbourd so that I can paste it on an other application. Can someone help. I know how to add string to a clipbourd …

Member Avatar for bsabowala
0
248
Member Avatar for nekoleon64

This is embarrasing. My name is Leonard Norwood Jr. And I have problem concerning my program that does a simple program of multiplying a person's weight times the weight of the planet equals the weight they would be if they were on a planet. And this has to be done …

Member Avatar for HWalkmanWTN
0
175
Member Avatar for xEffrego

My code is this atm: #include <stdlib.h> #include <stdio.h> int main(int argc, char *argv[]){ int a,b,c; int swap; printf("Enter 3 Numbers (# # #):"); scanf("%d %d %d", &a,&b,&c); //does all its computing, to see which one is biggest. return EXIT_SUCCESS; } The result when i run it in eclipse is …

Member Avatar for WaltP
0
2K
Member Avatar for angrymasteryoda

Ok now i am having a retarded issue im sure. but here is what is supose to happen is n is not allowed to be more than 5 but when i run this and enter in 5 i get a blank space and when i enter 1-4 i get the …

Member Avatar for WaltP
0
144
Member Avatar for Tygawr

How can I read a string within a string without using substr? void ReadStrInStr() { string Str; Str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; //cout "A-J" in Str }

Member Avatar for WaltP
0
284
Member Avatar for gethelpcpp123

A password is good if it has at least one digit,one alphanumeric charecter, one uppercase letter, one ordinary lowercase letter letter and consists of 8 charecters or more. I created this program, but I'm not getting correct results.. What is the problem? void main() { cout<<"This program checks whether the …

Member Avatar for WaltP
0
112
Member Avatar for gge18

Im trying to solve a question of python Data Structures and Sorting, and i meet a question about mergesort, this question ask me make two mergesort and i just finished one mergesort. so i really need some help for this question. thank you !!!!!! # This is alternate mergesort # …

Member Avatar for vegaseat
0
147
Member Avatar for Thermalnuke

Hey guys Having a problem with my program i am writing this program out all in char format. it is suppose to out put the letters in order and then spit out the numbers in reverse. also the outputs that come out are in order and then off to the …

Member Avatar for Thermalnuke
0
1K
Member Avatar for Labdabeta

I never knew that near and far were reserved until I made a struct for bounding boxes like this: struct boundingBox { float near, far; float left,right; float top,bottom; }; Does anybody know what near and far do, because I got the error that the declaration does not declare anything. …

Member Avatar for Labdabeta
0
123
Member Avatar for jdelgado08

Hello guys, i'm trying to compute the area of a triangle using the Floating-Point stack (FPU87), but i'm having an issue outputting my value. I'm computing the area using Heron's formula: T = sqrt{s * (s - a ) * (s - b) * (s - c) } Note: s …

Member Avatar for ActiveProfessor
0
464
Member Avatar for c3r3alki113r

# Source Code # robo.h - http://pastie.org/3698136 main.cpp - http://pastie.org/3698145 functions.cpp - http://pastie.org/3698148 # Glitches # When ever i try to create more than 2 instances of the class Robots the program will compile but crash it is crashing during construction right after the first while loop, i would think …

Member Avatar for c3r3alki113r
0
207
Member Avatar for sainitin

Hi all, I have list of pubchem Compound names and want to retreive pubchem Ids from NCBI Pubchem database using NCBI eutilities to acheive that i wrote biopython script as follows ~~~ from Bio import Entrez Entrez.email = "ni@gmail.com" #Input names infile = open("file1", "r") out_put = open("file2.csv","w") for line …

Member Avatar for woooee
0
276

The End.