64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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, … | |
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. | |
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 … | |
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; | |
[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. | |
haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz | |
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 … | |
i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:) | |
Does one exist? Like the Glade Interface Designer and wxGlade, only to build Tkinker UIs. This would need to be run on Linux/UNIX. | |
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; … | |
is it possible for me to call a static method if all I know is the class? | |
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 … | |
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 … | |
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 … | |
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> … | |
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] … | |
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 … | |
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 :) | |
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 … | |
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 … | |
Is there a way to set exact coordinates for background image or it is limited to layout options? | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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...... | |
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, ',') … | |
Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev | |
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 = … | |
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? | |
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, … | |
[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 = … | |
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 … | |
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 … | |
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. | |
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. … | |
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 … | |
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 … | |
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 … |
The End.