199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JackDurden

Im having trouble seeing this recursion function through. Say I have an 8 by 8 array how would I get the search function to "see" into the middle of the 8 by 8 array. Positions (4,4), (4,5),(5,4),(5,5). [CODE] #include <iostream> using namespace std; struct matrix { int size; int row; …

Member Avatar for skatamatic
0
68
Member Avatar for NinjaLink

Hello, I am trying to get the stock count to print for each of the toys: ps3, elmo, and wii. I don't have any clue on how to do it. To print the stockcount, i created the function getStock to try to do the job. Can someone help me get …

Member Avatar for NinjaLink
0
135
Member Avatar for unleashedvigil

I am needing to have this program choose between two options randomly. The program all works except that when I use this line of code: int x= rand() % 2; it seems that it's not random but rather follows the same pattern every time. I have searched and found things …

Member Avatar for unleashedvigil
0
86
Member Avatar for sudokusolver

i designed this tic tac code in c bt there is sum prblm wid the part where program has to decide the winner it dosent seem 2 workin im posting the code any help is greatly supported #include<stdio.h> #include<conio.h> void main () { int go=0; int i =0; int player; …

Member Avatar for WaltP
0
118
Member Avatar for greenvader

i need to open a msword file using vb6, read the data and insert a new data. could someone please help me with this. thanks in advance

Member Avatar for greenvader
0
79
Member Avatar for enzogoy

Hi all I have a few page of PHP just for internal use. Its function only obtain the data from the users enter and write it to an .csv file. Everything works fine til this morning I do a check again and I found out that It didn't write to …

Member Avatar for enzogoy
0
108
Member Avatar for Boudou

[code=cplusplus] #include <stdio.h> #define SIZE 3 void swaparrays(int* a, int* b); main () { int a[3][3]={{0, 2, 3}, {1, 5, 7}, {3, 9, 4}}; int b[3][3]={{2, 8, 5}, {4, 7, 1}, {3, 9, 2}}; } void swaparrays(int* , int* ); { //How I can impement swap arrays Function???// } [/code]

Member Avatar for uim_1977
0
117
Member Avatar for lotpb

Please help I am stuck on how to click checkbox and put area code in textfield <?php $array1 = array("(516)","(631)","(718)"); ?> <?php $AreaCode = $array1; ?> <td><input name="Phone" type="text" value="<?php echo $array1[0] ?>" size="15" /> <input name="RadioGroup1" type="radio" id="RadioGroup1_0" value="<?php echo $array[0]; ?>" checked="checked" /> <label>(516)</label> <input type="radio" name="RadioGroup1" id="RadioGroup1_1" …

Member Avatar for lotpb
0
78
Member Avatar for uim_1977

People what do i do wrong, i'm new to the forum, but for some reason i'm not gettig any ansfers to my questions, please tell me what do i do wrong???? Thank you.

Member Avatar for VernonDozier
0
92
Member Avatar for Boudou

//I have done Until.. But it seems to have many problem with compiler// #include <stdio.h> #define SIZE 3 void swaparrays(int* a, int* b); main () { int a[3][3]={{0, 2, 3}, {1, 5, 7}, {3, 9, 4}}; int b[3][3]={{2, 8, 5}, {4, 7, 1}, {3, 9, 2}}; void swaparrays(int* a, int* …

Member Avatar for Boudou
0
98
Member Avatar for akbar002426

You are to implement a very simple distributed text editor. For this purpose, each user must be provided with a simple workspace where she can either read or write plain text. You must implement the system in such a way that, at any given point of time, only one user …

Member Avatar for thanatosys
0
113
Member Avatar for Liszt

How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?

Member Avatar for Liszt
0
166
Member Avatar for StephanJos

I have one *.cpp file but I cant it compile with MS VC++ ! How to compile signle .cpp file in VC++? Please help me!

Member Avatar for tonief
0
164
Member Avatar for jase728

I need help. How do you encrypt multiple lines of a text file? /********************* *Made by Jase Inc * *Made in 10/22/2008 * *Boolean Cryptography* *Using ^ operator * *********************/ #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream myfile ("text.txt"); char key[65]="jaf#$%skl%#ajlf^%dlkfhasjlk@#dsgsfsfrtw"; …

Member Avatar for dumparun
0
165
Member Avatar for mineko_panda

Hi I'm tackling down an extra credit assignment which I'm so confused on. We are to design a basic JS Grade Calc where we input our scores and it gives us our grade. For extra credit we have to snazz it up a bit. So far this is what I …

Member Avatar for mineko_panda
0
162
Member Avatar for thanatosys

I have a homework assignment for a c class I am in currently, the assignment is to write a simple spell checker. I am having a bit of trouble understanding how to write a trie in c. A trie would be composed of nodes, which contain the following I believe: …

Member Avatar for thanatosys
0
265
Member Avatar for AnjX

I get this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/pixogeni/public_html/arcade/admin/commandcenter.php on line 46 Well this is line 46, I can't seem to figure out a fix for it... if (isset($_GET['p']) && $_GET['p'] == "login") { Any suggestions? :S Thanks in advance :)

Member Avatar for AnjX
0
145
Member Avatar for Spartan552

Hello everybody, I have various components that I want regroup in the same category. I found numerous screenshots on the internet using some sort of frame surrounding items. For instance : [url]http://www.vieartificielle.com/images_robot/e70d6615e7b9c9ecfacdc7e977425d6d/cache_500_wifi_robot_photo_gui.jpg[/url] (the frame surrounding "Joystick information" section) and [url]http://bp3.blogger.com/_45gEBj4xUTA/RwefQvOgIjI/AAAAAAAAACQ/pKezYz2qQCQ/s320/RobotUI.jpg[/url] (the frame surrounding "Current data" section). I dont know how …

Member Avatar for Spartan552
0
99
Member Avatar for pduregi

Hello everyone. I am a student working on network protocols. Now I have a rough idea to use mathematical tools, e.g. formal methods, to examine or even build the model of protocols. As I have no in-depth concept of these tools, I would like now ask some naive questions: 1. …

Member Avatar for shrughes
0
176
Member Avatar for volscolts16

Hi all, I have been pulling my hair out in this one. I am using logisim to build this for lab. I have combined a half adder (a,b inputs and s, c outputs) with the carry coming out to represent z that goes into the full adder(xyz inputs and s2, …

Member Avatar for shrughes
0
177
Member Avatar for danielpataki

Hello Everyone! This is my first post, so please excuse me for any breaches of netiquette. I am building my own from validation script, which uses separate functions for each input box like so. [CODE=html]<input type="text" name="username" onchange="CheckUsername(this.value);">[/CODE] A bit of javascript sends this along to a php file using …

Member Avatar for danielpataki
0
167
Member Avatar for danielpataki

Hi everyone! I'd like to ask a simple question to which I can't really find a definitive answer. If I condense my code a lot, will this mean an increase in loading times which is significant enough? I like having my code spaced out, readable, but I would also like …

Member Avatar for danielpataki
0
214
Member Avatar for rstkw

There is a website that makes highly optimized VB code available. Something like VBSpeed or something like that. Does anyone have a link to it?

Member Avatar for rstkw
0
98
Member Avatar for danishbacker

can anyone tell me how to upload a file iis server I use the following code now but it doesn't work in iis server. [code] $fileName = basename( $_FILES['fileName']['name']);//filename from post $currentdir=getcwd();//get current directory $target_path = $currentdir."\\snaps\\" . $fileName ; if([COLOR="Red"]move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path)[/COLOR]) { echo "Success"; } [/code] can I get …

Member Avatar for danishbacker
0
142
Member Avatar for bodocz

Hi! I expect the next program wait 1 sec. and exit but doesn't work. Could anybody help me? Private Sub Command1_Click() Timer1.Interval = 1000 Timer1.Enabled = True aaa = 0 lo: If aaa < 1 Then GoTo lo Else End End If End Sub Private Sub Timer1_Timer() aaa = 10 …

Member Avatar for rstkw
0
258
Member Avatar for joshmo

I was reading a tutorial about 2D arrays and I decided to construct something. I managed to construct something but when I compile I get "null" as my output. I cant seem to figure out the problem. Here is the sample code. I have also higlighted in red a line …

Member Avatar for ~s.o.s~
0
594
Member Avatar for vbdave

Hi, I made a small Access DB that has a Date field in it (DUEDATE). The DB is used for demonstration purposes to show current orders. I need a function that would randomly update the orders due date in the table (orders). I would like to input a starting date …

Member Avatar for rstkw
0
103
Member Avatar for dhandb01

hi there guys!!!! Could u plz help me with this program. I hav done quite a lot but there still are some problems. here is a brief overview of ma project The aim of this project is to design and develop a useful utility program, named duplicates, to locate and …

Member Avatar for dhandb01
0
157
Member Avatar for jjskywlker

Ok, so I need to enhance the functionality of my existing Loan class to be able to calculate any of the 4 missing elements in a Loan, whether it is the Principal, APR, Term, or Payment. I already have the necessary calculations to get the monthly Payment, but I need …

Member Avatar for stultuske
0
4K
Member Avatar for jianna

Hello all I have been learning C for about 3 - 4 weeks now and I'm in need of some help. I am trying to write a function that will give you the sum of selected integers in an array with a value of 20. I can make it give …

Member Avatar for jianna
0
461
Member Avatar for goodmuyis

Hello can anybody recommend a book for a lazy reader like me, I've try "Thinking in C++, Volume 1, 2nd Edition Bruce Eckel, President, MindView, Inc" but i find it difficut to understand the basic there. So can anybody recommend any simple book for lazy lad

Member Avatar for ddanbe
0
247
Member Avatar for itzzmeyoyo

Iam not able to pass a value from servlet to jsp using setAttribute and getAttribute. My test code : Test1.jsp ======= [code] <%@ page language="java" contentType="text/html" %> <html> <head><title>Login Example</title></head> <body> Enter Your Text <hr><p> <form name = login action="../servlet/TestServlet1" method=POST> Your Text : <input type=text name=yourText><br> <input type=submit value=LogIn> …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for FerrousRex

My company has been using an Access 2003 database for a couple years now and the person who previously worked on it just left, the problem is he never gave me the password to unlock the Visual Basic editor window, and I can't seem to contact him. Does anybody know …

Member Avatar for FerrousRex
0
252
Member Avatar for sancti

hi all, i am devleloping a web form..I want to use a date time picker in ASP.Net as in C#.How can i put date time picker in ASP.Net. Can anybody help me regarding this. thanks in advance...

Member Avatar for reach_yousuf
0
2K
Member Avatar for Entropy1024

I have a .mdb database that contains various records. One of the fields is date, ie '19/10/2008 00:00'. How do I sort the database by date? I an a beginner and currently learning with the 'Visual Basic in easy steps' by Tim Anderson. On page 104 he has an example …

Member Avatar for Entropy1024
0
303
Member Avatar for panpanf

I have studied sql. I know what is relational database. I wanna konw how we store the data in a relational database and how to query the data when we emplement a "select" statement Is there a open source relational data base? I wanna konw the data structure of the …

Member Avatar for panpanf
0
88
Member Avatar for hlmrjr

I have a query I am currently working on a program with a lottery theme I will post the parameters as well as my code thus far. A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this …

Member Avatar for afzal_01
0
138
Member Avatar for briguy75

I'm doing a homework assignment... I have two files. Payroll (the class) and myPayroll. I run myPayroll and it does everything except return the employee's name and ID number. I'm supposed to pass those values to the constructor... but i'm at a loss as to how to do that. First …

Member Avatar for ~s.o.s~
0
75
Member Avatar for kenji

Hi, I have a question regarding what type of degree to pursue. At the moment I am studying at a College want to pursue a career in programming (Computer Science), I will be graduating in Spring 09 and want to continue studying and get a degree in Computer Science. My …

Member Avatar for Denniz
0
69
Member Avatar for Niner710

Hi, I keep getting an error in Visual Studio C++. I am trying to create a copy constructor but keep getting this error. "Windows has triggered a breakpoint in test.exe. This may be due to a corruption of the heap, and indicates a bug in test.exe or any of the …

Member Avatar for skatamatic
0
171
Member Avatar for CollegeC++

The section, of my program, that has to do with the error extracts a description from an html file or site. We are to find it based on three criteria. I have two down and this third one is giving me problems. I tried to create a DescripChars object in …

Member Avatar for skatamatic
0
117
Member Avatar for tonyaim83
Member Avatar for Geek-Master
0
190
Member Avatar for blackslither

I will give a simple example inspired from my problem : void change(int *x, int *y){x=y;} int main(){ int *xx,*yy; yy = (int*)malloc(sizeof(int)); change(xx,yy); if(xx == NULL)printf("is null\n"); else printf("---- %d ----\n",*xx); .................................................. ......... xx doesn't point to the value of yy (*yy) , the program prints "is null" . …

Member Avatar for Aia
0
147
Member Avatar for jhonnyboy

Can it be done? cout<<"ENter name"<<endl; cin>>name; cout<<"Enter DOB"<<endl; cin>>dob; cout<<"Enter City of Birth"<<endl; cin>>city; when i try to enter "John Doe" as name the program skips and doesn't let me enter anything for dob and asks me the city input. Any help would be greatly appreciated. Thanks!

Member Avatar for Ancient Dragon
0
6K
Member Avatar for unleashedvigil

Hi Everyone, This is my first post and I hope I followed all the guidelines correctly. This is an assignment for a class. I am supposed to read integers from a file, enqueue or dequeue them and then write them out to another file. The main method calls this Work …

Member Avatar for unleashedvigil
0
88
Member Avatar for robgeek

Hi guys, this 2D arrays is not making sense to me. Some how I am just too confused. What am trying to do is average the rows in 2D array and average the columns in the 2D array seperately. Here is the code snippet that I have trouble implementing. The …

Member Avatar for robgeek
0
5K
Member Avatar for deniseaddy

Hi, I'm having trouble building the correct syntax select statement for a system to handle support tickets. The table "tickets" has the following columns: id (int) inserted (smalldatetime) ticket_id (nvarchar) owner (nvarchar) subject( nvarchar) category (nvarchar) message( nvarchar) status (nvarchar) The id is unique for each record but the ticket_id …

Member Avatar for Geek-Master
0
178
Member Avatar for Geek-Master

[I]In this example I'm using the AdventureWorks database in MS SQL Server 2005[/I] I was wondering what other people thought about Schemas vs. Roles when it comes to security access. If you have an employee who just started working for Human Resources and needed access to all the database objects …

Member Avatar for Geek-Master
0
428
Member Avatar for Liszt

What is the way to change size in a cell in dataGridView to 8.25 This does not seem to work. [code] dataGridView1->Rows[b]->Cells[10]->Style->Font->Size = Font->Size(8.25F); [/code]

Member Avatar for Liszt
0
114
Member Avatar for d5cs

The End.