199,114 Archived Topics
Remove Filter ![]() | |
I am having a most mysterious problem which I have been unable to solve after repeated attempts. Perhaps somebody here will be smart enough to figure out what is going on. I am attempting to read a file of this format 19700326.15 71.37 71.50 70.00 70.50 217600 0.89 19700330.15 70.50 … | |
hi this is the corotuıne example writen in def [CODE]namelst=['Charles Darwin (1809-82)', "Darwin's principal works, The Origin of Species (1859)", 'and The Descent of Man (1871) marked a new epoch in our', 'understanding of our world and ourselves. His ideas', "were shaped by the Beagle's voyage around the world in", … | |
Has anyone used this code to calculate quantiles? The code defines the function 'quantile'. If one runs the code and names the script file 'quanitle.py' and puts it in the same directory as another code file calling the function, why is the function not accessed???? Here's the copy-and-paste script for … | |
![]() | Hi guys, I have a txt file in which each line contains information in following format: VELOCITY<100.0> LAT_1<N 00 00.0000> LON_1<E 000 00.0000> SIMULATE<false> I would like to write a C or C++ programm to select only the values of the words I need. I need those values to do … |
I love this programme :P [CODE]#include <iostream> #include <string> using namespace std; char lowerCase(char input0 = 0); char upperCase(char input1 = 0); int main() { char character = 0; while(true) { cout << "Enter a Character to change case: "; cin >> character; cout << endl; if(character > 64 && … | |
I started my java class not long ago. I`m just creating a class car, and I`m not sure how to call a function with a return type in main, can anybody help me. this is what I have: [CODE]class TestCar { public static void main(String[] args) { Car myCar = … | |
Hello DaniWeb! I am having a particular problem with my Javascript page, which should change the form that the user is at. Can anyone proofread my code to check for errors? The code does not change the form (Also it does not run the PHP page, or at least does … | |
I have been trying to check Internet connection but all ways I have tried have failed. Some example code would be great, or the package to use. Thanks very much. | |
In my Operating System lectures, we were taught various scheduling algorithms like FCFS, Shortest Job first, etc. In Shortest Job First, the scheduler is supposed to execute the processes with the least amount of burst time first. My question is: How does the scheduler calculate/estimate the burst time/execution time of … | |
| |
Hi, does any of you have any idea why the self.status variable is not rewritten? When I run the script below, although it connects to the ip and port mentioned, and receives a message, the self.status is still "down" the otuput is : 192.168.0.1 down it should be: 192.168.0.1 'message … | |
Yet another date time related sql statement i need help with, oh how I loathe them. I need to find the records between now and a week ahead. I have this so far [CODE] Dim con As New OleDb.OleDbConnection Dim OleDBCon As System.Data.OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
Hello DaniWeb Community! I am trying to create a web page that utilizes Ajax and PHP to connect to my mySql database and look up a username and password. You have all most likely seen the web page that has the template code on it: [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] This code is nice … | |
I really don't see what is wrong =(. First I download via curl a file, then I want to compare it to a local file there are 15 lines in dwnext.ded and there are 14 lines in extlib.ded I want to store in append those lines that have a string … | |
Hi there, I'm a newbie .. The task is to parse the given CSV file . CSV file (Student marks list ) which has 5 columns seperated by Comma delimiter : and the data structure is : - class details (class name,section) only one class details CSV - student details … | |
Hello. Because my client's table has two rows getting int values as ids from other table to display the string values. Table 1 Table 2 Item: 12 12 = 'Cat' For displaying the values I have created view in DB [CODE] create view ClientsView as select cl.id,cl.Name,cl.Familyname,cl.Position,cl.Email,cl.OfficePhone,cl.Mobile,cl.Website,cl.Comment,cl.[Date],cont.country,cl.Street,cl.City,clgr.[Group] from Clients as … | |
Hey all I'm having loads of problems trying to update my database with a dataset, I have been looking around forums and posts and trying all sorts of work around's, as far as I can assume, I will need to manually create (insert, update) function querys (even though as far … | |
can anyone post a tutorial or a link to tutorial where it would help me understand ado codes for connecting to my database . . . i'm really a newbie about ado codes. . . i haven't even tried to code using it yet . . . i just heard … | |
Hi friends, I have a form to create a company details.. which will insert the details into a table. For this table, I need to have a auto increment field as character.. when we have autoincreament as Integer... whenever the new company is created..the number will increase from 0, 1, … | |
Hi, I have developed a database web application, in that, a database has 2 tables with same structure. I am using MySQL querybrowser to add, update and delete the records. So, now my question is how can I move the tables records from one table to another, without writing a … | |
I Use visual Basic 8.0 and Mysql 5.0 I have one Table1: [COLOR="Red"]Table1[/COLOR]: RecordID , Integer = primary key auto_increment NOT NULL Articlenr , Integer Articlename, Char(20) Table1: has two records: RecordID, Articlenr ,Articlename 1 , 1000, Hamer 2 , 2000, saw I want to use Datagridview to update Mysql … | |
l am wanting to build a php session script but l understand that there is more to it than just what w3schools shows, anyone got a good tutorial on it or time on msn ??? | |
Hello, I have an Excel file with 40,000 rows of data. I would like to create a program in which reads the first column of the 40,000 lines and allows me to choose which row to edit. After selecting the row to edit, I'd like a form to come up … | |
Please, I have tried everything that I can learn from a book...any help with this problem is greatly appreciated. I've spent days writing and modifying and I am just lost now. Is there anybody that can help me solve this question using C language? You are developing a database of … | |
Hi PPL, I have a table in my web page which will be displayed when I select an option from a dropdown box. The table appears as follows: [CODE] Username Assignment Date Update me work 2010-01-21 (submit button) you hello 2010-01-20 (submit button) [/CODE] Now when i click the submit … | |
How to display following using while loop : <div style="background-color:orange;text-align:center"> <p>Header Section</p> </div> <div style="border:1px solid black"> <p>Content section</p> </div> I want to display all my database in above manner, It gives Parse error I want to fetch my database using while like : for 1st record <div style="background-color:orange;text-align:center"> <p>Header … | |
I couldnt decide whether to put this question here (as I'm programming with DirectX) or in the C++ section. I seem to only get this error occasionally. I understand the [URL="http://msdn.microsoft.com/en-us/library/799kze2z%28VS.80%29.aspx"]MSDN examples[/URL], and how they work. But I'm wondering if anyone can give a more human explanation? See, this only … | |
I have to write a Functional Specification for a Java File Dump Utility. I am unfamiliar with both of these terms, this project is due next week and Im just trying toget an idea of what I'm doing. I would love input from anyone who has created a Functional Specification … | |
Hi all... I plan to develop a Free Domain Name Service like .co.cc. Actualy it's a free subdomain service. For example, I use: [B]xxx.tld[/B]. Now, 1. how to create a subdomains (or virtual subdomains) using PHP+Mod Rewrite? Example: [B]thedomain.[/B]xxx.tld I mean, how to write it on .htaccess file using PHP? … | |
Hello I have an array of 50 text strings, is there any way that i can easily link each item in the array to a different text box on the screen? and then to have the text boxes auto update if the array changes? Thanks Simon | |
Hi, I am required to first read a number, n and then n lines of string. The strings can contain leading spaces which has to be preserved: 2 " hello world" ... using [CODE]scanf("%d", &n); for (int i = 0;i < n;i++) { scanf(" [^\n]", message); .... printf("Case #%d: %d\n",case_count, … | |
This is a Brain Tester that I made. [CODE] #include <iostream> #include <ctime> using namespace std; int main() { for (int a=0,b=1;a!=b;) { cout << "This is a Brain Tester Program Made By Matthew Sedam.\n"; cout << "Select An Option.\n" << "1 - Multiplication\n2 - Division\n"; int select; cin >> … | |
hi can anyone tell me how string ends in C# does it have a null in the end or any other way and if there is null character at the end of string then which function or how to get the index of that null? | |
Is this possible? Any tutorial if possible? I want to make a program to do mass conversion of my Icons without loosing resolution | |
I m a mcs student n thinking of doing a project ''controlling a pc using a mobile". can u just give some guidance. Thanks. I wanted to know will this be a good idea,a good project topic. | |
Hello this is for my assignment for college. I just need help on how to properly declare ofstream/ifstream globally to get my program to work the proper way. Yes I know I can just declare it in Main() and use pass by reference. ( Did that on the first project … | |
need a code to display date & time on the form so that when form is print i get to see the day & time events took place | |
How to add 1/1+ 1/2+1/3...+1/9+1/10 . I tried but I am getting answer in negative number. | |
All might gurus of that which I don't understand- I am a student and I am asking for some homework help (sorry, I am really stuck). I am getting a "C4430: missing type specifier - int assumed. Note: C++ does not support default-int" error, and for the life of me, … | |
i need a c programme that reads a txt that you chosse then count the number of each word in the programme i have e.g. "hello this word is very funny this is not" hello 1 this 2 word 1 is 2 very 1 funny 1 not 1 i would … | |
I am creating a program with at least two classes, a base class and a derived class and that includes the following: a composite object an example of inheritance at least one virtual and at least one pure virtual function at least one overloaded function at least one example of … | |
[B]Please tell me How can i get HDD serial number in VB[/B] | |
I hope to copy from container to another container. But it is not easy. gdb said I'm trying to copy const string to string. --------------------------------------------------------------------------------- 0x00007ffff7b760f3 in std::string::assign(std::string const&) () from /usr/lib/libstdc++.so.6 --------------------------------------------------------------------------------- I don't know how to copy from container to container one by one. WiIl you help me? … | |
Hi everyone, I am working on a window that will calculate an average grade from 3 grades typed in by user then display it's appropriate grade letter. This is what I have so far and well it isn't working. Can anyone point me into the right direction as to what … | |
the deal is to create trigger(function?) which would send updated value from one table and add to another example: table1 column:AccountID and 2 column: Money table2: column:AccountID and 2 column: Money i create something like this: [code]CREATE TRIGGER money_from_vault ON table1 FOR UPDATE AS DECLARE @Money Int,@AccountID varchar(10) SELECT @Money … | |
Ok, So rdoc avoids over-documentation by deciding that some modules & functions (e.g. private methods) are best left ignored and undocumented. Kindly rdoc lets you override some of this helpfulness by passing the '--all' and/or '--promiscuous' at run-time. Great. However, there are still some modules that are left undocumented for … | |
Dear friends- Short and sweet. How does a guy with no money and no real technical skill, start a website he is confident will break some ground? Cross my heart and hope to die. Chris | |
ok so i an setting up an html email thing that you use an wysiwyg to format the text (just bold links and stuff like that) and i am running into a problem with my links they seem to be escaping and then not printing out in gmail with a … | |
:) My mind went blank for a bit and I couldn't figure out such a simple programme. But then I had a shower and all was well :) [CODE]#include <iostream> #include <string> #include <cmath> using namespace std; int factorial(int i = 1); int main() { int num = 0; bool … | |
I have a question regarding scope for a character array defined as follows: saveDataObj->save("This is the first entry", 1, 2); Here is how the SaveData class has been defined: [code=c++] class SaveData { struct entry{ const char* data; int data1; } entry* mpData; static int iter; } //Constructor SaveData::SaveData() { … |
The End.