199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aasi007onfire

In C the variables are often declared using keywords like auto, extern, static, const etc..... i just want to know what is the function of each.... where are they used and a system level interpretation i.e. how the system interprets these variables.... can somebody help....

Member Avatar for danysabin
0
100
Member Avatar for nalinibh

Deal all,my prob:how can i pass data in a file after reading the file in C. i want to encrypt data of this file after reading the file.i know i cn use f commands to read data but want to pass the data later in second part of my program.sorry …

Member Avatar for danysabin
0
108
Member Avatar for assgar

Hi I am php newbie and I don't know if I am approaching this properly. I need to creat a scheduler that list the appointment time on the left and client for a specific appointment time on the left. NOTE: The appointments are stored in a Mysql database This is …

Member Avatar for assgar
0
100
Member Avatar for quintoncoert

is there any way that one can place code in C# in a procedure or a function? I have code logic which is going to be executed many times over and instead of recoding it twenty times over I want to put them in functions and procedures so that I …

Member Avatar for Ezzaral
0
166
Member Avatar for simward

Hi everyone, this is my first post here! I am making a small application that helps manage merchandise returns in a computer store I work for. I am currently designing the database for it and an issue has arose which is probably obvious but is eluding me right now. I …

Member Avatar for simward
0
174
Member Avatar for jonamasa

Hi I downloaded a simple Java application using Spring, which works in Eclipse if I manually add the needed jar libraries. However, I would rather use the existing [I]build.xml[/I], which includes the libraries via [code]<fileset dir=...>[/code] and [code]<include...>[/code] nodes. If I rightclick the [I]build.xml[/I] and click on Run As->Ant Build, …

Member Avatar for Ezzaral
0
187
Member Avatar for speedygonzalez

Hi all! I've a pretty naive problem with my applet which is as follows..... [CODE=java] // Wordlist for GRE High Frequency Words import java.awt.*; import java.applet.*; import java.awt.event.*; /* <applet code="Wordlist.class" width=800 height=600> </applet> */ public class Wordlist extends Applet { TextField m1 ,m2 ,m3 ,m4 ,m5 ,m6 ,m7 ,m8 …

Member Avatar for Ezzaral
0
131
Member Avatar for pixrix

what is the different about C++ n C.. i have a program below which my friends say that it is on C.. how do i change to C++.. [code] #include <stdio.h> #include <stdlib.h> char matrix[3][3]; /* the tic tac toe matrix */ char check(void); void init_matrix(void); void get_player_move(void); void get_computer_move(void); …

Member Avatar for ~s.o.s~
0
300
Member Avatar for Noyeaux

Taking on a pet project to teach myself some things and hone some amateur skills. Wondering if you could help point me in the right direction and assist me with some technical points as i get stuck. I have a basic idea of how i would do this,... but i'm …

Member Avatar for N317V
0
94
Member Avatar for jethfo

Calling All Shell Scripters, I am a web developer needing assistance from someone with shell scripting expertise. Does anyone have a unix shell script that can look into a directory and identify any "*.zip" files and ftp them to a remote server? Upon successful completion of the FTP transfer I …

Member Avatar for tabish.asm
0
129
Member Avatar for Fungus1487

im converting a vb6 desktop application to run on an intranet obviously there are some things which will never work but the majority is doable but im quite worried about filesizes. i know the intranet will have faster connectivity than your average web page they are mostly running 100mbps lans …

Member Avatar for Fungus1487
0
129
Member Avatar for ahmed elweshahy

syntax error in CREATE TABLE statement to create recordset i write the following statement: db.Execute "CREATE TABLE myTable(Sname text (10),Code number (5)) " is this statement true or false Please i want help thank you

Member Avatar for manoshailu
0
97
Member Avatar for shadwickman

I just started learning Python about 2 days ago, and I threw this program together, just to get the hang of it. The program just creates a file named "PythonTest.txt" in the same directory as the .py file. The user can then enter lines that are written to the .txt …

Member Avatar for katharnakh
0
173
Member Avatar for mawarzinnirah

hello... i have a little problem about how to create an auto-increment process. i'm using an oracle and all the table and data is already exist in my database. I have seen a few example from internet and it is like this. [B][COLOR=green]table users {[/COLOR][/B] [B][COLOR=green]id int(13) not null auto_increment,[/COLOR][/B] …

Member Avatar for sillyboy
0
146
Member Avatar for bm1167

Hi, This is my first post so I hope I explain myself well. I just started learning how to program about three weeks ago. I chose python becuase SPSS now can interface with Python. So this may seem like an obvious question. What I am trying to do is set …

Member Avatar for vegaseat
0
102
Member Avatar for AtomicProGS9

ok i need some help on programming a "delete" button that needs to do the following: it needs to access a server "\\server" and then a sub share on that folder so: "\\server\subshare" then it needs to delete everything in the subshare folder completely. does anyone have any suggestions?

Member Avatar for dougy83
0
119
Member Avatar for kingIZZZY

Please take some time to read my questions. Thank you. My current C++ exercise project is a win32-console text-only MUD engine. (MUD = "Multi-User-Dungeon" referring to the game genre in which the player wanders around in a 'map' of 'rooms' and can interact with many 'items' and 'characters'. In the …

Member Avatar for ShawnCplus
0
213
Member Avatar for Pierre147

Hello, I'm developping a web site, using masterpages and content place holders. ContentPlaceHolders I put in the table. The problem is that in IE the content is showed only in the small part of the COntentPlaceHolder, it is cut on the right and at the bottom. In Firefox everything is …

Member Avatar for Pierre147
0
115
Member Avatar for mtarby

I'm trying to migrate some code to generate an rss feed from classic ASP to .NET (because its cleaner). I've got it working perfectly for the first feed I try, but when I tried to modify the code for the next feed I get a [B] [I]Specified cast is not …

Member Avatar for f1 fan
0
140
Member Avatar for Juwar

I have created a custom template field for a gridview.When one clicks a button, the template field is supposed to be added to the gridview. Here is the code: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim assignment As String assignment = txtAssignment.Text Dim column …

Member Avatar for f1 fan
0
170
Member Avatar for cms271828

Hi, I've installed: Microsoft Visual C# 2005 Express Microsoft Visual Web Developer SQL Server 2005 Express How am I supposed to use sql server? Can I use it from both C# 2005 Express and VWD? I haven't got a clue whats going on, I can't even uninstall sql server. Is …

Member Avatar for jbennet
0
159
Member Avatar for Zarathu

I would like to know what is wrong with this code: [code] [BITS 32] ; Windows XP SP2 32-bit section .text global _main _main: push Command mov eax, 0xAABBCCDD ; address of system() call eax Command: db "echo whatever" [/code]

Member Avatar for Zarathu
0
179
Member Avatar for quintoncoert

I am using the system.diagnostics.process command to run a program. the program receives a number of parameters. can someone please tell me if the process command of c# can receive more than one argument? and how do you specify them? when one runs this command from the command-line you seperate …

Member Avatar for f1 fan
0
193
Member Avatar for yuenli

Hi! I wish to build a web based application where similar to Microsoft Excel/Spread Sheet. This web based application should have an interface of spreadsheet cells where user can click around the cells to enter data. As the data being entered it will save in database where indicating which cell …

Member Avatar for f1 fan
0
68
Member Avatar for intangir1999

I am trying to write this loop in a simple convert process, but I get all sorts of crazy errors when I try using the "not equals" operators. here is my code: int main() { int i = 5; std::string s; do { cout<<" Enter a string: "; cin>>s; cout<<endl; …

Member Avatar for intangir1999
0
124
Member Avatar for snakai415

Is there a way to change boolean into integers? Like... making every "TRUE" = 1 and "FALSE" = 0 If there is a way, how will you do it? I tried using this 'cast' thing, but it's confusing :'( - - - - - I'm suppose to make a table, …

Member Avatar for snakai415
0
449
Member Avatar for new_2_java

Hi all, I would like to execute a shell script from my java code. Can some one please tell me if that is possible? Here's what I tried, but with no result. [code] public class RunPDCC { public static void main(String[] args) { try { Process proc = Runtime.getRuntime().exec("./test.sh"); System.out.println("Print …

Member Avatar for new_2_java
0
553
Member Avatar for endsamsara

Hi, How do i create a class called Text that creates an object from a string and that deletes the first word of the text have no idea I was starting like [CODE] public class Text{ public static void main(String[] args) { String str = "this is a little text …

Member Avatar for Ezzaral
0
111
Member Avatar for JRM

I was experimenting with a direct method of dereferencing an iterator. It works OK with numbers, cout gets confused (??) when the derefenced pointer is a string? The code was supposed to stuff a vector, then read it out . I hacked up that original to do some troubleshooting and …

Member Avatar for JRM
0
120
Member Avatar for t3hfr3ak

I know theres a menu button for it somewhere but i cant seem to remember how to do it. This is for my movie information Database (I dont know if any of you remember when I was asking about storing the data in a txt file. Well now I am …

Member Avatar for manoshailu
0
142
Member Avatar for johnroach1985

Hi. I am creating an asp.net web site. Using GridView the website creates a table. Now my question is I want to color the text "NO" red within the table cells. Waiting for your reply.Please keep in mind my code is written in C# so any C# examples would be …

Member Avatar for johnroach1985
0
109
Member Avatar for samirs79

Hello everyone! Below is a sample flat file (sampleflatfile.dat) i have on UNIX: [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]ALPEnt,4516,AllMember,Unknown,DateRange,20070411,20070419,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]AGLT,2156,Summary,Unknown,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]DUPP,2536,Yes,Unknown,[/COLOR] each line above represents a report to be generated...therefore, the content of the sample flat file above means we need 4 reports (because there are 4 line)... the file above …

Member Avatar for vishu.awate
0
122
Member Avatar for Nperic

Hey guys, im in deep need of help for [URL="http://www.daniweb.com/techtalkforums/thread78156.html#"]mysql[/URL]. Ive been given a few questions most of them answered although theres 3 which are really bringing me down. I was wondering if u could get some help :D Given this schema borrow([U]transactionID[/U], personID*, borrowdate, duedate, returndate) author([U]authorID[/U], firstname, middlename, …

Member Avatar for manoshailu
0
193
Member Avatar for ad_rulz

Can somebody help me understand what does this function do? And also if there are any logical or syntactic errors in the function. I was told that there are 2 bugs in the code. I can only think of 1 which is below: 1. In the first while loop in …

Member Avatar for ad_rulz
0
580
Member Avatar for tunday

Hi. I'm currently trying my hands on PHP and MySQL. I understand how to retrieve results from SELECT statements in PHP? However, I'm not exactly sure of how to do it when a procedure call is made e.g. [code] [COLOR=green]$query[/COLOR][COLOR=green] = [/COLOR][COLOR=green]"CALL mach_validity([/COLOR][COLOR=green]$student_id[/COLOR][COLOR=green], @result)"[/COLOR][COLOR=green];[/COLOR] [COLOR=green][B][COLOR=green]if[/COLOR][/B] ([COLOR=green]$result[/COLOR] = [COLOR=green]$mysqli[/COLOR]->query([COLOR=green]$query[/COLOR]) { [B][COLOR=green]while[/COLOR][/B]([COLOR=green]$row[/COLOR] …

Member Avatar for tunday
0
93
Member Avatar for pixrix

What is a two-dimensional char array with 3 rows and 3 columns. Can give me an example of a program. Thanks

Member Avatar for pixrix
0
4K
Member Avatar for pvozarkar

Hi all, I am using GetChunk() and AppendChunk() in Vb 6.0 methods to retirve the data from image fields in MS SQL 2000, I hav a question , weather the same Methods can be used for retriving or saving the data to the "Text or Numeric or Date " etc …

Member Avatar for pvozarkar
0
248
Member Avatar for s s paul

Hello I want to pass the database retrieved username after user logs on & hence to check login correctness I am using php & jsp [code=php] <?php $conn= mysql_connect("localhost", "root", ""); if(!$conn){ exit("Error in SQL"); } mysql_select_db("college", $conn); $val1=$_REQUEST['login1']; $val2=$_REQUEST['password1']; $sql = "SELECT * FROM tlogin WHERE tid='$val1' AND tpasswd='$val2'"; …

Member Avatar for doubledub
0
88
Member Avatar for shujjah

I would be grateful if anyone could help me i need a reviews and a news script for my gaming website written in php and sql i want a reviews,and a news script. i mean i want a script that will allow me to add reviews and some other editors …

Member Avatar for justinm
0
180
Member Avatar for fredzik

Hi, I need to put a time limit on a game, I think it's something like time.sleep() but have forgotten how it works. The game needs two minutes to be able to finish the game, but I have forgotten the formula. Can anybody enlighten me? Thanks for any help.:) fredzik.

Member Avatar for fredzik
0
96
Member Avatar for Spycat

Hello, I am running a homeowner's association website (1 page only). The manager asked if I might be able to allow her access to make announcements from time to time. I think this would be a good idea, but I don't want to give her carte blanche access to the …

Member Avatar for Resonate
0
123
Member Avatar for lover99509

I have 2 problems I need your help please: 1- How can I map the result of a select query? let's say that I have a table named "Item" and I need to delete a specific item record from this table. So the user first needs to see the information …

Member Avatar for DenisOxon
0
89
Member Avatar for Catherine Green

I just got a new computer which has windows vista on it. My internet server is Piper which is not compatible with the new windows programme. The guy at piper said it was a common compatibilty problem with alot of software and the new vista programme. Should I just change …

Member Avatar for jbennet
0
275
Member Avatar for gurusamy

hi, i want to convert string into arraylist............... i have a string .......string vaue is str= "12,13,14,15"; now i want convert this string into arraylist.......... like arr={12,13,14,15}; (using c#)

Member Avatar for Killer_Typo
0
492
Member Avatar for hinduengg

Hi to all , I wished if any one of you could throw light on [B]mechanism of insertion sorting in C++[/B]. I know what is bubble sorting but I had confusion regarding what is insertion sorting? In school my professor had mentioned about it, but I do not have any …

Member Avatar for hinduengg
0
200
Member Avatar for radskate360

Please Help, I have our first assignment here on functions. It is pretty difficult, at least the one part that I keep getting stuck on. I seemed to manuver through the other parts I was having trouble with so far. But to start our assignment is to write a program …

Member Avatar for Killer_Typo
0
119
Member Avatar for vladdy19

i need help writing a program that compares 5 numbers and returns the max, i have the code that compares 3 numbers but i don't know how to expand it to 5. here's the code for the max of 3 [CODE] (define max3 (lambda (x y z) (if (> x …

Member Avatar for azimuth0
0
109
Member Avatar for jethfo

I need a robust shell script fast and don't have time to learn how script it myself from scratch. Summary: An existing PHP Application allows consumers to place an order for a product and upload files necessary to build that product. These files are stored in folders on the webserver …

Member Avatar for AHbrendan
0
117
Member Avatar for ili82

Hi, My question is: which config variables in [B]PHP.ini [/B]must be set in order to show graphics? If anybody can tell me something about these settings I will be very thankful. Regards, Iliana

Member Avatar for vishu.awate
0
117
Member Avatar for olodu

[COLOR=green]Hi Guys,[/COLOR] [COLOR=green]I have a problem loading data into datagridview control. I have 2 forms with datagridview on both forms. when the user selects a record in form 1, the related records is then displayed in the datagridview in form2. These all works fine but my problem is, when the …

Member Avatar for QVeen72
0
216

The End.