199,114 Archived Topics
Remove Filter ![]() | |
Can you tell me which basic operations on a list can cause an use of stack proportional to the size of the list? (I mean, looping on all elements...) I have problems with stack size. Is iterator post-incrementing dangerous in this sense? | |
Hi, I wish to do PHP Cerification.I dont have any idea.How to do PHP certification?What are the procedures to do?Is there any PHP Certification Material.........Please tell me with regards, santhanalakshmi. | |
Can anyone help me fix these?Program displaying and writing symbols to my file... And also after calculating GPA , when choose function read or display all it is illustrated as null....help plz [code=cplusplus] # include <stdio.h> # include <string.h> # include <iostream> # include <fstream> #include <stdlib.h> using namespace std; … | |
Hello All. I got a doubt. In general, for updating remote database, we use ip address for the remote system. Here, i would like to update two remote systems at a time. I wrote the code like the below one. Could anyone please give the correct advice and suggestions. [B]try: … | |
Hi Im hoping some fresh eyes will show me the issue here, been stuck on this for a while now... [code] $c = 0; for($i = 86400; $i < 604900; $i + 86400) { $start = $mktime - $i; $end = $mktime - ($c * 86400); echo $start . '<br … | |
I am working on solving several problems and this is one that I came across which I am not sure how to solve. If someone could help me here that would be great. Here is the problem, thanks much in advance: Your boss comes up with the following idea: Move … | |
Hello everyone First ,My name is Hashem I'm a beginner in c#, I'm trying to open Excel file(2003) but I get error at Open Function in the below code : (Old Format Or Invalid Library Of kinds (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)) Is there anybody can help me? where I … | |
Hi Guys, I'm making a program ( game sudoku) in C# - windows application which contains many textboxes (81) labeled as shown below. String[] polja = { "tbA11", "tbA12", "tbA13", "tbA21", "tbA22", "tbA23", "tbA31", "tbA32", "tbA33","tbB11", "tbB12", "tbB13", "tbB21", "tbB22", "tbB23", "tbB31", "tbB32", "tbB33",... ... "tbI11", "tbI12", "tbI13", "tbI21", "tbI22", … | |
Hey everyone, I've just a simple question for you. I've an array like a[10] = {23, 17, 35, 67, 43, 52, 97, 83, 73, 29} How can i shuffle the order of this array's elements? (randomly) Thanks for your interest and your help... Have a nice day... | |
hi all, I got 3 form that is form1,form2,form3 I create a mainmenu to call form2 or form3 I got problem to getcenter the form2 or form3 in FORM 1.... Anyone have idea?... | |
Hi there, I tried to use the above compiler for C.For every program I get the following message. I followed the tutorials,but can't figure out what am I missing in order to compile and run programs efficiently.It is not the code,as I have tried a number of programs which run … | |
I am trying to convert an array of longs to an array of chars. There are 1081 elements in the long array. Each element is 4 digits long. Is there a function in C++ that will convert a long something I can store in the array or could someone point … | |
I am new to programming and am trying to create a program to access a database of DVD's. I want to input a unique code for a title and display relevant fields from that record. I am getting the error above and have spent many hours now trying to see … | |
Greetings from a newbie! I'm creating a game of a sort where objects move and collide on a 2D ASCII map ( vector<vector if u will ). I'm having hard time calculating the projectories of ranged weaponry. Not sure if this problem is more mathematical than C++ related, but here … | |
Guys please help me out on ths' I have created a table in sql ' managed to change datetime to date only in (sql query analyzer ' parsed it ) its shown date only n sql table but its shown both datetime in vb.net textbox Please tell me if my … | |
hey there..can you please help me write a C program to put the Caps Lock on?? | |
i am making a hangman game on python for school and need help i have to practice using loops like ifs there are three parts i have to make which are checkletter.py which i have been given directions to do this • Code the checkLetter() function so that it goes … | |
Is there a function in C which can read dual delimiters, there is strtok which works using a single delimiter.. Is i need to decode a file as such 123#!45!2#!678#!666#!45!6#! in the above case #! is the delimter, if i use strtok and use(#! as delimiter) 45!2 in the above … | |
I was told olny the computer / home that the "host program" was in needed to be port forwarded, but you need port forwarding just to use the client too. Base code for client program: [code] //Main.cpp #include <iostream> #include "Socket.h" #include <fstream> #include <string> using namespace std; string getcot(char … | |
Two files be placed , to certain composition of (warehouse of) simple project entering, template calculates inclusive < include (reach; make) > Array and it operation of template with (from) method several instructions of codes ( ) demonstrating main. Task relies on making of new template representing calculator, be based … | |
I was wondering if it was possible to upload say a picture file and a text file and in the script put them into a zip file programatically. if this is possible could you offer some tips or links please? regards! Thank you it looks like ill be reading for … | |
Can anyone tell me, what to change in the VB4 application setup program to prevent it from reporting a negative available memory during set up? | |
Hey everyone! I have been teaching myself Python, and so as an exercise, I have tried writing an image grabber for OneManga.com. You put in the path to the comic page you want to start the grab from, and it grabs every page from there to the end of the … | |
Hi, I've a problem. I need to retrieve all contacts stored in a public folder in the ms exchange 2003 server in VB.NET or C#. Anyone can tell me a way to do it or some example ? Thank you. | |
If this is my code how would I loop to the next dog of the current owner after the dog has been fed 3 times. [CODE]Foreach ($owners as $owner) { For($x=1;$x<=$NumOfDogs;$x++) { $dog = $dogs[$x]; shuffle($dogFoods); Foreach ($dogFoods as $dogFood) { For($y=1;$y<3;$y++) { Feed($dog, $dogFood); } } } }[/CODE] | |
Hello everyone, I am trying to update a JTable after a user clicks a button. I have a bunch of data in a TreeMap, which I then convert to a String[][], and pass to a DefaultTableModel, and then use that DefaultTableModel in the JTable. When the user clicks a button, … | |
Hello, I have 2 queries, qryDept and qryExams. Because I can not join these queries together so I have to use 2 Record sets in ASP. The NoStudents deduct from NoExams to get Remain. It keeps getting errors at the --oRs2.Open strSQL2, Conn. [code] <% Dim Dept_ID, strSQL2, oRs2, Remain … | |
Hi, I want to add 1 hour with current time,i done this using following method date('h:i:s',strtotime('+10 minutes') but i want to take the current time in a variable and add that time with 1 hour,but that value could not change as the time changes. help me out to solve this … ![]() | |
Hi, I want to create a form that a user can fill in his information and send the form to his friends via email. Anybody have ideas or examples they know of. | |
Hi. My problem i guess it is simple but i guess I'm simple as well :). The problem is the flowing: I have a JTextFead and a search method for IDs. The IDs are 7 char long. I want to be able when the user enters 7 chars the search … | |
Just had a quick question about my code. Seems like a very simple solution, perhaps I'm just too sleepy to think straight. What I am wanting to do is if a certain index is selected in my combobox i want certain textfields to display which is apparent by the code: … | |
Hi me and my class are getting this problem with tim.start(); and stop. we get start to work with a button but cant stop and we can stop with the keyboard but not with the buttons bad explaination i know but have an look plz :P [CODE] /* * To … | |
I use phpDesigner but I have no idea how i could use debugger when there's a (submit)button in the code and would like to test what happens when the button is clicked. In this example, the debugger stops when it steps on the "Register" button. How should i set it … | |
Greetings, I've been given a task to create a bunch of thin-client systems. I found a Python script that acts as a window manager and provides a simple "Connect or Shut Down" interface. It works well, but now I've been asked to adapt it for two special situations. 1. Connect … | |
Hello, For some reason, my program prints out extra zero from my linked list Can anyone tell me why? Thank you [ICODE]public class Main { public static void main(String[] args) { IntNode my = new IntNode(5,null); LinkedList list = new LinkedList(); list.createList(0); list.addValue(1); list.addValue(23); list.addValue(3); list.addValue(4); list.print(); list.getLength(); } }[/ICODE] … | |
Hello, I was wondering why do we need to assign value of -1 to the top of the stack? topOfStack = -1; Thank you | |
hello all, i need help with php/mysql syntax that will search a mysql dbase using 3 user-provided (from web form) options. All options are contained in drop-down menus. the mysql database has an auto column which is the primary key allowing for duplicate entries which are neccesary the table has … ![]() | |
Thank you for taking the time to read this. I already have code to download as *.csv/*.xls file from my MySQL database (in place) I need to add a "flag" into the DB as for when the last download was made, and then upon next download, only $fetch_newRecords and reset … | |
Hi, I'm new to python and linux as well. Could someone suggest how to install python2.3.4 on RHEL4? When I tried, installing rpm package it thrown some errors saying that dependencies are missing. Please do needful. Thanks in advance... | |
Hello everyone, Im very new to python so I am having a hard time with it. I am trying to input a set 's' and have it spit out 'result' which would be a list of all computed subsets of 's'. I wrote the following code but its not working. … | |
code is : code is : path = (char*)malloc(100); pname = (char*)malloc(100); path = "ragHu"; strcpy(pname, path); free(path); whats wrong with this? | |
Ok, i got this so far ... [code] import java.util.regex.Matcher; import java.util.regex.Pattern; public class Testing2 { public static void main(String[] args) { Pattern p = Pattern.compile("[wati]"); String text = "water"; Matcher m = p.matcher(text); if (m.find()) { System.out.print("Found !"); } } } [/code] With that code i got a match, … | |
Can someone please help me figure out what I am doing wrong? Basically I have a form where users enter a bunch of values. On submit, the form values are dumped into a table in the DB. The process is as follows: Users enter a set of values TWICE for … | |
Hi, I need an effect like in this linkhttp://markgrantcables.co.uk/shop/ I simply put a "?" mark next to a textarea. When mouse is over "?" then a little explanation box will appear. Thanks | |
in my coding program, it says this line of code is wrong syntax: [icode]class Mainwindow()[/icode]. Why? whenever i add a line above it with just a semicolon (;), it says it isnt bad syntax. i copied it directly from a tutorial. WHY??? billy | |
Open source is the development method which is higher reliable. It promises better quality and more flexibility and with lower cost. Open source in information technology point of view it is the method of design, development and distribution offering practical accessibility to a code generated by others. Open source software … | |
I working on a personal project of mine and got stuck. The program is a simple quiz in which the user answers some questions, and their results are saved into a text file. Reading and writing to text files is easy so I don't need help with that. On my … | |
Hi, I call a vbscript file from my batch file. I need to pass a variable from this vbscript file to batch file. can anyone please let me now how to do this. batch file looks like this cmd.bat ------------ @ECHO OFF cscript "D:\samp.vbs " isql -S sername -d dbname … | |
Hello I have started to study C++ after having worked with a procedural language for many years. I have read a couple of C++ books (hmm, well at least looked into) and some tutorials about C++. I started to prepare a C++ quick reference guide for my own usage and … | |
Hy, I have to develop an application usign Visual C++ 2008 that should handle (open, change cells and save) some Excel 2003 sheets. I am using .NET Framework 3.5 and the COM reference Interop.Excel.1.5. Does anyboby knows how to code this? Thanks. |
The End.