64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for adnanius

hello I'm new to c++ and I'm writing a program for a college project. I'm getting an error I don't understand, if someone can help me with it I'll be thankful Oh, and by the way, the functions names are in French, hope this wont be a problem. Here is …

Member Avatar for adnanius
0
705
Member Avatar for jeffige

I have been following a C tutorial and using DevC++. When I write this code: [CODE]#include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }[/CODE] and try to compile and run, I get this file popping up... [*] cstddef // Copyright (C) 1997, 1998, …

Member Avatar for jeffige
0
345
Member Avatar for jeffige

Is there any way to get rid of the "Press any key to continue" in the Dos window.:-/ I am using DevC++ ver. 4.9.8 It gets alittle annoying after awhile. And yes, I am new to programming.

Member Avatar for jeffige
0
206
Member Avatar for majestic0110

hi hope you all ok. this block is in a for each statement. [CODE]TextBox tb = new TextBox(); tb.Text = rowData[key]; cell.Controls.Add(tb);[/CODE] I need these textboxes (which are created at runtime) to be required user entry fields. Bear in mind i know how to do this with asp.net, I am …

Member Avatar for majestic0110
0
446
Member Avatar for os.hacker64

I realize that kprint takes a pointer as a parameter. I don't understand how it loops through each character when you do something like kprint("HELLO WORLD"); Can you really just increment *s to get to the next char like: s++; char c = *s;

Member Avatar for Ancient Dragon
0
95
Member Avatar for lordx78

[code=php] echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>"; [/code] Is this part properly coded [code=php] <a href='' . $link1 . '' style='color: red'> [/code] I tried like [code=php] <a href="' . $link1 . '" style='color: red'> [/code] but not working. Pls advise.

Member Avatar for lordx78
0
112
Member Avatar for ajithraj

haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz

Member Avatar for ajithraj
0
86
Member Avatar for Tsuruya-san

Hello, I'm new to this site and programming in general, so bear with me :$ . I've been downloading source code like crazy to reference, however I have yet to find a single project file for large projects (such as, for example, Half Life 2) that SHOULD compile correctly. Surprisingly …

Member Avatar for Tsuruya-san
0
114
Member Avatar for Sawamura

i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:)

Member Avatar for Jx_Man
2
153
Member Avatar for linux

Does one exist? Like the Glade Interface Designer and wxGlade, only to build Tkinker UIs. This would need to be run on Linux/UNIX.

Member Avatar for linux
0
132
Member Avatar for Jennifer84

I am writing this to a .txt file. The problem here is that it doesn´t compile when I write "\". Why does this happening because this is just a string ? I really need to get this "\" out to the file. Any idéas on this ? [code] ofstream out; …

Member Avatar for Jennifer84
0
116
Member Avatar for Zork'nPalls
Member Avatar for Zork'nPalls
0
98
Member Avatar for dnk

please see my code : there are something wrong?how i can check if stack is empty?? NB : isi = content of stack atas = top of stack tumpukan is stack [CODE]function POP (var T : Tumpukan) : integer; begin POP := T.Isi[T.Atas]; T.Atas := dec[T.Atas]; end;[/CODE] anyhelp will be …

Member Avatar for Jx_Man
0
163
Member Avatar for cmhampton

Does anyone know how to create queryable collections in VB without using LINQ? I am working on creating a dynamic questionnaire system and need some help. Here's some background: The system needs to support parent/child questionnaires. I have the database model created, as well as a query that returns all …

Member Avatar for SheSaidImaPregy
0
212
Member Avatar for Jennifer84

I am trying to read lines from a .txt file and put them to a vector like this but when I run the program, the computer get stuck. The file is only about 50 lines. I wonder what could be wrong with this code. [code] ifstream File("C:\\Gli\\temp\\File1.txt"); std::vector<string> For; std::string …

Member Avatar for Jennifer84
0
99
Member Avatar for Zangow

Hello all. This is my first post. I'm a software engineer with a general knowledge of SQL, but am no where close to an expert, let alone an intermediate. My current issue is I'm working on a query which combines 2 tables: TableA UniqueID Auto Increment ProjectName String <Extra Data> …

Member Avatar for Zangow
0
186
Member Avatar for midimatt

Well another problem, sorry for constantly asking. My program is coming along well i think, it creates the file writes the data to it but it crashes when i try to view the information. i'm not sure if its an error with my loaddata() function or my viewcharacter() function [code=c] …

Member Avatar for midimatt
0
153
Member Avatar for Robtyketto

Greetings, I have 2 JSP files and a bean which are collectively used to delete a record from an access database. They run without errors, however the only value from the form that is required, that is passed as a parameter to the bean is Null (debugging showed value is …

0
89
Member Avatar for Estella

I want to change font of all controls in a form. how i can do this?? i can change font but just for each control not all control in a same time... please help :)

Member Avatar for Jx_Man
1
173
Member Avatar for LanierWexford

I am working on a home work assignment which is: "Write a program that will allow the user to enter an infix expression terminated by '=' your program will convert to Postfix notation" enter 3+7-6/2*8+7= prints 3 7 + 6 2 / 8 * - 7 + I have written …

Member Avatar for chalasesha
0
163
Member Avatar for rickster11

If anyone has a minute, I could use some help. Been working on this program all day. I know it's hard trying to understand someone's code and logic...but I'm hoping there is an easy solution here. My program needs to be able to read and write files at the push …

Member Avatar for rickster11
0
194
Member Avatar for peter_budo

Is there a way to set exact coordinates for background image or it is limited to layout options?

Member Avatar for peter_budo
0
109
Member Avatar for space1000

Hello, I have a problem with a varchar(15) field. We export this record with a bcp command and I get an new line in the export file from the specific field. When I look at this field then I just see 12 numbers in it. When I do a len …

Member Avatar for space1000
0
107
Member Avatar for serkan sendur

how do i catch events of a datalist in a repeater? I need to use datalist's ItemDataBound event but i cant use it because it is inside a repeater control. Thanks in advance

Member Avatar for serkan sendur
0
86
Member Avatar for Jennifer84

For the string: "Number(1234)". I am looking for to extract "1234" and "Number" I have understand that I need to know where the positions is for ex "(" and ")". The code I have done so far look like this: [code] std::string Value10 = "Number(1234)"; size_t found1; size_t found2; found1 …

Member Avatar for mitrmkar
0
94
Member Avatar for justted

Hello everyone, For the navigation of my website I have decided to use a Drop Down Menu which I have inserted into the side menu template so it shows on every page. This is all fine except when you click on it the first time then its successfully loads the …

Member Avatar for justted
0
52
Member Avatar for midimatt

Hi Again, Well i'm bored and i've decided to do some coding just for practice and i've decided to work on a text based RPG, its only going to be basic due to my own knowledge but i think its doable. unfortunatly i've come accros a problem already and i've …

Member Avatar for WaltP
-1
376
Member Avatar for reuifdjk

Hi all, I am currently doing an application using MS Access 97 as front-end GUI, connecting to a back-end Oracle server. The Oracle server version is 9.x. Now I wanna use integrated security so that I won't need to enter the username/password every time I start my application. The problem …

Member Avatar for reuifdjk
0
427
Member Avatar for Ankita B

thispage.jsp displays user id and name in a table format with radiobutton attached to each row.... [CODE]while(enum.hasMoreElements()) { String upid = (String)enum.nextElement(); String upname = (String)enum.nextElement(); %> <tr> <td> <input type="radio" name="idradio" selected="false" value="<%= upid %>" /> </td> <td> <% out.println(upid);%> </td> <td> <%out.println(upname);%> </td> </tr> <%} %>[/CODE] nextpage.jsp needs …

Member Avatar for Ankita B
0
864
Member Avatar for Noliving

I'm not seeing my bracket problem at all! [code=java]import java.util.*; /** A class to represent an ordered list. The data is stored in a linked * list data field. * @author Koffman & Wolfgang */ public class OrderedList<E extends Comparable<E>> implements Iterable<E> { /** A linked list to contain the …

Member Avatar for Noliving
0
251
Member Avatar for LanierWexford

I have a modual(Is that the right term?)called WordPlay which has severl functions for exercises in Chapter 9 of "How to Think Like a (Python) Programmer". Below is my code for Ex9.3.2, which has the user input a string letters and then searches a .txt file(Attachment) for words that do …

Member Avatar for katharnakh
0
225
Member Avatar for SheSaidImaPregy

I am creating a site where normally I would store this kind of information in a database. It is information that will most likely never.. EVER be changed again unless it needs administrative modification. Just possibly deleted ^^ I was thinking about storing a link in a database that leads …

Member Avatar for SheSaidImaPregy
-1
125
Member Avatar for theNewGuy1992

Hey I am writing a program that will mimike a dice roll. I have the dice based on the value of a random number. the only problem is the random numbers don't change from one run to another, here is the code. #include <cstdlib> #include <iostream> using namespace std; int …

Member Avatar for vijayan121
0
163
Member Avatar for foundsheep

My form was working fine in the past, and now it is not. I'm not sure why. I've been through the code several times and have yet to find anything. The form posts with the general error that is in the code. So, something is breaking, but I'm not sure …

Member Avatar for foundsheep
0
119
Member Avatar for ebabes

I wish to create an application that displays a message in a label assume that the messages have been stored in a string of array. The message automatically changes every after 30 seconds. How can I do the change of the message every after seconds in ASP.Net using C# as …

Member Avatar for ebabes
0
129
Member Avatar for ebabes

I have seen lately from this site a listing of all fields that can be inserted inside CSS. But I can't find it now. Can anybody give me the codes for all the fields in CSS?

Member Avatar for ebabes
0
146
Member Avatar for shahriar2403

I am really having a tough time to update my report contents. Please help me with a project attaching with your solution. please help me quick......

Member Avatar for cometburn
0
480
Member Avatar for Jennifer84

I am using istringstream to put strings separated by commas to own std::strings. I have done this wich works: [code] std::string One, Two, Three, Four, Five, Six; std::string Value = "a,b,c,d,e,f"; istringstream is(Value); while ( getline(is, One, ',') && getline(is, Two, ',') && getline(is, Three, ',') && getline(is, Four, ',') …

Member Avatar for Jennifer84
0
191
Member Avatar for efect

Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev

Member Avatar for vegaseat
0
149
Member Avatar for katharnakh

hi, I was exercising package creation and its usage in Perl. I started with a simple program, 1. Created a package called A 2. Created a package called B 3. A program which includes those packages, and uses its services. [code=Perl] # A.pm package A; use warnings; my $l_var = …

Member Avatar for KevinADC
0
4K
Member Avatar for kinyuadave

I have this project that am workng on that requres the user to write a name in a textbox and images are displayed on the picture box. So the question is how do i do this?

Member Avatar for Jx_Man
0
110
Member Avatar for wokeup2sleep

im a beginner at comp science, and my prof is using python, which is totally new tom me i had a few questions with the program im writing, im having a few problems. brief summary i have to do a project where there are nine boxes filled with number 1-8, …

Member Avatar for wokeup2sleep
0
90
Member Avatar for lordx78

[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav //include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { $brandC = $_POST['brandC']; $typeC = $_POST['typeC']; $styleC = $_POST['styleC']; $frameC = $_POST['frameC']; $groupSetC = $_POST['groupSetC']; $errors = …

Member Avatar for lordx78
0
76
Member Avatar for yobehcor15

Are there any examples of Time and Attendance System, I would like to know how it works on the part where an employee logs in and the logs are being saved under his/her account when he/she views his/her logs. I am new in .NET programming using VB and I just …

Member Avatar for SheSaidImaPregy
0
184
Member Avatar for zwench

I need someone to look over this and see what I am doing wrong. I keepgetting errors on this part of the code. It says its not defined.I also think i need to take that splitter thing out. I am new to all of this and haven't a clue how …

Member Avatar for zwench
0
275
Member Avatar for lordx78

I'm looking for some PHP scripts that be able to search into the Database and retrieve all the records that matches the user input string in the search form. Please advise.

Member Avatar for lordx78
0
273
Member Avatar for claudiu_is

I have several breakpoints and the debug goes in the first one, skips the next 2, then jumps directly on the last one, as if the 2 in between don't even exist. And this happened recently, with no big changes in the code and I've never experienced anything like it. …

0
118
Member Avatar for abarnett

Greetings! I am new to the Daniweb community but hopefully you all can help me out with this problem! I am to write a c++ function, smallestIndex that takes as parameters int array & its size and returns the index of the smallest element. then I have to write a …

Member Avatar for highspeedhook
0
3K
Member Avatar for nikk

In my website, the pages where i allow the users to update their details(such as - change password and update contact details), i want to open them in new window, rather than the current one. Can you please tell me what should be the code for it? What i know …

Member Avatar for nikk
0
351
Member Avatar for saurabh_kanwar

Hi Guys, I was just wondering if there's a way of restricting access to the contents of a database by creating a list of users and their corresponding password. So when ever someone tries to open the database a form pops up asking for their user name and password. Thank …

Member Avatar for fireprooffox
0
111

The End.