199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arenq

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?

Member Avatar for arenq
0
82
Member Avatar for santhanalakshmi

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.

Member Avatar for coolmind259
0
85
Member Avatar for K'rul

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; …

Member Avatar for K'rul
0
101
Member Avatar for bhanu1225

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: …

Member Avatar for jice
0
285
Member Avatar for lifeworks

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 …

Member Avatar for lifeworks
0
101
Member Avatar for still_learning

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 …

Member Avatar for siddhant3s
0
157
Member Avatar for hesham_51

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 …

Member Avatar for Poojasrivastava
0
453
Member Avatar for bokr66

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", …

Member Avatar for ddanbe
0
128
Member Avatar for Gurdinho

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...

Member Avatar for ArkM
0
100
Member Avatar for kerek2

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?...

Member Avatar for Teme64
0
130
Member Avatar for cool_aj

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 …

Member Avatar for cool_aj
0
130
Member Avatar for Duki

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 …

Member Avatar for tux4life
0
251
Member Avatar for Poppystar

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 …

Member Avatar for Poppystar
0
579
Member Avatar for Topi Ojala

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 …

Member Avatar for amrith92
0
292
Member Avatar for sunil01

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 …

Member Avatar for Teme64
0
112
Member Avatar for cool_zephyr

hey there..can you please help me write a C program to put the Caps Lock on??

Member Avatar for Salem
0
333
Member Avatar for punjabi

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 …

Member Avatar for jlm699
0
142
Member Avatar for sanushks

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 …

Member Avatar for cool_zephyr
0
212
Member Avatar for azjherben

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 …

Member Avatar for azjherben
0
102
Member Avatar for 1obama

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 …

Member Avatar for monkey_king
0
81
Member Avatar for sacarias40

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 …

Member Avatar for sacarias40
0
183
Member Avatar for Bob Jacobs

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?

Member Avatar for vb5prgrmr
0
177
Member Avatar for pythonian4000

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 …

Member Avatar for pythonian4000
0
222
Member Avatar for larry78

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.

Member Avatar for kirill.krylov
0
463
Member Avatar for Aeterna

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]

Member Avatar for JugglerDrummer
0
84
Member Avatar for lifeismusic434

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, …

Member Avatar for lifeismusic434
0
101
Member Avatar for tadisaus2

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 …

Member Avatar for tadisaus2
0
128
Member Avatar for vidhyaponnusamy

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 …

Member Avatar for diafol
0
100
Member Avatar for Hcaja

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.

Member Avatar for netdoer
0
78
Member Avatar for JustmeVSI

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 …

Member Avatar for JustmeVSI
0
105
Member Avatar for KirkPatrick

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: …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Dendei

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 …

Member Avatar for Dendei
0
128
Member Avatar for szita1

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 …

Member Avatar for szita1
0
97
Member Avatar for gbarnas

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 …

Member Avatar for gbarnas
0
230
Member Avatar for grisha83

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] …

Member Avatar for grisha83
0
91
Member Avatar for grisha83

Hello, I was wondering why do we need to assign value of -1 to the top of the stack? topOfStack = -1; Thank you

Member Avatar for grisha83
0
105
Member Avatar for pabzzmike

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 …

Member Avatar for diafol
0
146
Member Avatar for trochia

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 …

Member Avatar for trochia
0
138
Member Avatar for durga84

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...

Member Avatar for woooee
0
284
Member Avatar for OLer94

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. …

Member Avatar for woooee
0
235
Member Avatar for Pramoda.M.A

code is : code is : path = (char*)malloc(100); pname = (char*)malloc(100); path = "ragHu"; strcpy(pname, path); free(path); whats wrong with this?

Member Avatar for Salem
0
130
Member Avatar for username7260

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, …

Member Avatar for masijade
0
133
Member Avatar for SQL_n00b

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 …

Member Avatar for SQL_n00b
0
145
Member Avatar for veledrom

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

Member Avatar for veledrom
0
116
Member Avatar for billymcguffin

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

Member Avatar for jlm699
0
98
Member Avatar for perceptionseo

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 …

Member Avatar for HITMANOF44th
0
110
Member Avatar for lolwtf

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 …

Member Avatar for lolwtf
0
1K
Member Avatar for Vidya Bhama

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 …

Member Avatar for Vidya Bhama
0
210
Member Avatar for Sune

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 …

Member Avatar for e.shankar87
0
228
Member Avatar for pferian

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.

Member Avatar for pferian
0
152

The End.