199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Xufyan

i've learned arrays, loops, Creating objects and classes, creating methods, Encapsulation, Polymorphism Overloading constructors, Stack what next should i learn ??

Member Avatar for Xufyan
0
108
Member Avatar for qazplm114477

I'm trying to pass several create statements through mysqli->multi_query, I tested the multi_query statements with a couple of queries and it works and when I called it with my actual create statements it just wouldn't go through... there weren't any errors and it returned true. I tested the query itself …

Member Avatar for qazplm114477
0
1K
Member Avatar for Klaurac

Hey I need to create a simple login. The question isn't actually that much about creating the login but about creating 2 views. One for the user who hasn't logged in, the other who is logged in. 1.The user starts program, the panel1 with login is displayed. 2. The user …

Member Avatar for Klaurac
0
122
Member Avatar for Nemo_NIIT

HI Friends i want to do the connective in C# window application with sql server and in that even i want that if client put information in text box's and click on submit the information should go in sql server db and then again if he is putting same information …

Member Avatar for hassan12345
0
242
Member Avatar for ali_zdn

How can i cut a string into pieces according to a format i wanted for example ; 23:11 GoToUpperClass("324.223.22.1", "asdadas", 1989) 23 11 GoToUpperClass "324.223.22.1" "asdadas" 1989 what is the easiest way of doing this?

Member Avatar for Momerath
0
75
Member Avatar for kekkaishi

hi, i've been trying, without success, to maintain the style of the text in a jTextPane when it is copied into the clipboard. what I want is to copy the text in a jTextPane with styles (eg: bold, italic) and to be able to paste it into MS WORD with …

Member Avatar for kekkaishi
0
108
Member Avatar for darkAngel

as above. [code] string s; cin >> s; [/code] for example, if the user enters Orange, i want it to convert to orange. please advise what i should do. thanks in advance

Member Avatar for bbman
0
902
Member Avatar for Arthas

Hi. I am using boost.threads with SDL. Am using vc++2010. I have wrapped the SDL input functions in a class SDL_Input. eg. [CODE]class SDL_Input { public: bool* GetKeyState(); void ProcessEvents(){ static SDL_Event event; while(SDL_PollEvent(&event)) { switch(event.type) { case SDL_KEYDOWN: keystate[event.key.keysym.sym] = true; break; //and all cases as mousebuttonup....so on } …

Member Avatar for Arthas
0
139
Member Avatar for sergiolio

Election Applicatin of Classes & Objects `create an election 2010 program with the following details: User Interface: Design your own user interface for the ff modules/methods: >User Leverl(admin & user) for admin,can manipulate the whole part of the program for user can only view voting part. >Registration: Assuming that there …

Member Avatar for javaAddict
0
145
Member Avatar for mpc123

I have a very large table and would need to split into lots of tables. The large table has lots of fields of which `Model.ID` gives a number of the product and this is repeated lots of times with other fields used in the row. I need to create lots …

Member Avatar for mpc123
0
94
Member Avatar for Borzoi

Is there any way of making an e-mail form using ASP/ASPX? I am limited in what I can do since I'm not a root administrator on the website this is for. The site uses Contensis as it's content management system so if there is some way of doing it via …

Member Avatar for Michel88
0
200
Member Avatar for Vibze

Hello, i want to pass variables in url with slashes for example if the url is [url]http://host.com/script/2008/05/05[/url] the script would get 2008, 05 and 05 as variables (year,month,day) i'm using mod_python/publisher. Thanks in advance

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for andydeans

hi, i want to add an end time in my query using my time to call column. at the moment i have a time to call which will be the start time however i want to add timetocall as endtime which is 15 mins after the timetocall column. i am …

Member Avatar for andydeans
0
181
Member Avatar for Stefano Mtangoo

Hi there, I need to block port 80 (HTTP for internet). Is there a way to block give socket? Thanks!

Member Avatar for sheva249
0
817
Member Avatar for Kimmelivim

This is my java assignment for school and I have done most of the work. But I still have some other features I have problems with adding. This is a guessing game where to program requests a number from the user between 1-1000. It will tell the user if the …

Member Avatar for Kimmelivim
0
99
Member Avatar for becky007

hi, im working with the queue class but not allowed 2 use the collections namespace, ok thats fine. paitent is the name for objects i want to queue. heres my paitent class [CODE] public class paitent { private string name; private string NHSW; private paitent next; } public string name …

Member Avatar for becky007
0
106
Member Avatar for emilyhedgecock

Basically, its all to do with the inventory system, all the other reams of code work fine, thank God! with the inventory, the idea is that each character can hold 5 items, so an array, but the array needs to hold the itemID and the itemName therefore an array wont …

Member Avatar for Stefano Mtangoo
0
155
Member Avatar for Mitja Bonca

Hello, I am doing a C# win. application, and using crystal report for printing bills on a custom paper size The width of the paper is unknown (the program has to get the paper size - if this is possible), the lenth of the paper is infinitive (its a roll …

Member Avatar for Mitja Bonca
0
407
Member Avatar for Rhuntsman21

This may be a simple question and it may be a complex question. I am not sure. Lets assume I have a windows form app that has three different areas: Area 1, Area 2. If there a way to tell the program when I am assigning tabbing order that I …

Member Avatar for nick.crane
0
98
Member Avatar for ata_tszx

Hi guys, i have a small problem... The coding works well but it have logic error, let say i have 5 reservation and the database will contain RSV001-RSV005. If i delete RSV002 from the database, and wanted to create a new reservation. The system will automatically will generate RSV005 although …

Member Avatar for AndreRet
0
121
Member Avatar for Krstevski

Hello friends, I have a small problem with WordPress. I have a page in WordPress and works great but "www" is missed in the URL. e.g. If the website is example.com and when I write [url]www.example.com[/url] then the address is changed in [url]http://example.com[/url] (correctly should be [url]http://www.exmaple.com[/url]). So, I want …

Member Avatar for Borzoi
0
127
Member Avatar for ramlisarip
Member Avatar for mhine.jhuniane
0
455
Member Avatar for lwaterfo

I am trying to get my database to display in a form using this code below. The problem is, the form (textfield) is not displaying anything. Can someone give me a hint? [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("Location: contractorlogin.php"); exit(); } mysql_connect('localhost','xxx','xxxxxx') or die( mysql_error() ); mysql_select_db('xxxxx') or die( mysql_error() ); …

Member Avatar for tiggsy
0
159
Member Avatar for shomashoma

this is a problem iv nt been able to solve..tried still not getting an answer Imagine that an NFA is divided into good and bad states represented by G and B resp..also G and B are mutually exclusive..now a string is accpted by the new NFA only if all computations …

Member Avatar for rajmitul
0
168
Member Avatar for ibdatx

Hi all, I am attempting data binding in WPF. I have a class Recipe and another called RecipeService. There seems a problem with the RecipeService class in terms of compatibility with the Recipe class as when I add its type to the ObjectDataProvider in the XAML file, I get an …

Member Avatar for Antenka
0
491
Member Avatar for tajul

I would like to calculate the execution time of my bubleshort program in pascal. is there any function available to enable it??

Member Avatar for tajul
0
111
Member Avatar for tyson.crouch

G'day guys, My boss has just asked me to develop a small CRM system. Now, writing a simple SQL Insert is not something im a stranger to, however for some reason i cannot seem to get this working. I've included all necessary libraries, and tested the actual sql statement in …

Member Avatar for masijade
0
609
Member Avatar for sachintha81

This isn't exactly a problem with C# coding rules, rather I need help with logic. Here's my situation. In my program, I deal with a JobID. Say, a print job, and there is a unique (obviously) JobID assigned to each print job. Now, regarding each job there are MANY files …

Member Avatar for nick.crane
0
198
Member Avatar for Sunshineserene

Hi, I want to know to rows and columns of numbers from a text file. I do not want to read it as a string, but one number (including numbers with decimal) by itself. I tried using FileInputStream and DataInputStream, but I'm not really good at it. I don't know …

Member Avatar for tong1
0
2K
Member Avatar for Shanti C

hello members, i have wriiten a form in my php page and i did call an ajax function on onsubmit, based on my ajax response my form have to be submit...but i am not getting ajax response text some times. But some times i got it correctly..i have used post …

Member Avatar for Shanti C
0
137
Member Avatar for Mr.BunyRabit

Hey guys. I am seriously not as smart as you all. I am working on this program and need read info from an access database to a DataGridView. Now that part i can do. the part i cannot do, and the code i dont know what it is, is to …

Member Avatar for JJCollins
0
120
Member Avatar for pallen

So I have a basic database of books set up. I am trying to use PHP to query the db and send back the results. I can sort of get it to work, but not working how I would like. The issue is that the search term that queries the …

Member Avatar for richieking
0
262
Member Avatar for swilliamrobert

Hi, I have some critical sutiuation for sending email. Example: A. [url]www.othersite.com[/url] B. wwww.oursite.com Lets say : A sendig request to B, the B sendback response to A. B site does not open. B site sending values internally using CURL concept in php. But A site still open. Once A …

Member Avatar for swilliamrobert
0
145
Member Avatar for marniel647

guys plss help me with this need urgent why i cannot delete row in database this my code [CODE]Try Dim dsql As String Dim connect As New OleDbConnection(conString) connect.Open() dsql = "DELETE " dsql = dsql & "FROM InventoryItem " dsql = dsql & "WHERE TransactionDate = '" & TransactionDateText.Value …

Member Avatar for lolafuertes
0
82
Member Avatar for christiancillo

Hello everyone, i'm new here but i've been having a problem lately with a sql query inside the code i'm writing, and i don't know what else to do. I've been trying to retrieve data from a table, and i want to use a variable for the "where" field in …

Member Avatar for lolafuertes
0
186
Member Avatar for mpassaglia

Hello all, I have an assignment that seems to be fairly popular. I've done some searches to see if I could resolve my issue but haven't stumbled across the exact problem I'm having. This is the assignment: [QUOTE]A parking garage charges a $2.00 minimum fee to park for up to …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for udaydce

A is [[ 0. 2. 0. 0. 0. 4. 0. 2. 0. 4.] [ 0. 0. 0. 8. 4. 0. 0. 1. 8. 0.]] B is [+0.016 +1.950 +0.016 -0.028 +0.121 +4.007 -0.016 +2.008 -0.028 +4.009 ] [-0.536 -0.121 -0.536 +7.684 +3.856 +0.179 +2.230 +0.358 +7.684 +0.214 ] When I …

Member Avatar for Gribouillis
0
78
Member Avatar for pallen

I am testing out some PHP code from a book just to see how it works. This is it: [CODE]<?php $f = $c = ""; if (isset($_POST['f'])) $f = sanitizeString($_POST['f']); if (isset($_POST['c'])) $c = sanitizeString($_POST['c']); if ($f != '') { $c = ((5/9) * ($f - 32)); $out = "$f …

Member Avatar for pallen
0
172
Member Avatar for Ptap03

Hello, I'm new to this thread but have referenced to it before many times. I have finally joined thanks to all the great responses I have read in the past. Okay, I recieved an assignment which is as follow... "Declare a dynamic array of Person to store the information of …

Member Avatar for VernonDozier
0
461
Member Avatar for veereshcta

Hi, Here I have my code which exactly functions as nl command in unix. How can I replace my buffer using malloc which reads unlimited line length and where as my code reads 100 char per line. [code] #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #define MAX_LINE_LENGTH 100 //Prototypes: …

Member Avatar for Ancient Dragon
0
118
Member Avatar for ice_tea_lemon

Hey all, Since I am new to this forum I better intorduce myself first. Well, I plan to take C++ in June, but seeing it as being my weakness zone earlier on, I wanna train while I've got the chance. So, I'm studying on my own at home since uni …

Member Avatar for wazcreliars
0
751
Member Avatar for badae

Hello Everyone! Im making program using java that would look like the (attached file).. If i will choose an item in the combobox(with 3 choices) the corresponding Price would automatically appear on the Price Jtextfield, im having a difficulty if i should use switch or if then else or both..? …

Member Avatar for badae
0
76
Member Avatar for udev

I want to set the last 7 columns in the given matrix. Here is the code I used [CODE] temp = mat('[6 0 0 0 0 0 0 0 0 0; 0 0 0 0 0 2 0 0 0 4; 0 3 0 0 0 0 0 3 0 …

Member Avatar for Schol-R-LEA
0
85
Member Avatar for arjen

hello guys i need help in datagridview i know how to display all the data in database using the datagrid but the problem how can i display one data from one customer only in the databse if she input his name so far this is my code [CODE] Dim dt …

Member Avatar for prvnkmr194
0
129
Member Avatar for pwp14

#include <iostream> using namespace std; int ScrabbleScore(string word) { int x=0; for(int index =0; index < (int)word.length() -1; index ++) { char ltr = toupper(word[index]); if(ltr == 'A' || ltr == 'E' || ltr == 'I' || ltr == 'L' || ltr == 'N' || ltr == 'O' || ltr …

Member Avatar for gerard4143
0
1K
Member Avatar for ana_1234

This is a friend operator overload function that used addition. It adds two mix fraction by reducing them to simplest form the adding and converting them back to a mixed number [CODE]Mixed operator+(const Mixed& f1, const Mixed& f2) { int newnum, newnum2, gcd, tmpNumerator2, tmpNumerator, tmpInteger, tmpInteger2; Mixed r; tmpNumerator …

Member Avatar for ana_1234
0
434
Member Avatar for andrewliu

Hello, I have set up a searchable database code for my website and I was wondering if it is possible to filter the database if I have two of the same names. Example: my database consists of names and other information, but I have similar names but different information for …

Member Avatar for andrewliu
0
108
Member Avatar for exekiel101

my professor has a assignment for us... this is the directions "write a c++ program that declares an array alpha of 50 elements of type float initializxa the array the 1st 25 elemensts are equal to the square of the index variable and the remaining elements are equal to 3x …

Member Avatar for Ryaether
0
90
Member Avatar for fuston05

I am making a php calendar script. I want to to store events on separate text files. Beside my calendar is an iframe which is where it will read the events. I cant figure out how to make php read just the portion that is the event, not the code …

0
72
Member Avatar for vincent0625

Hi, I have some problem in solving my homework in java language. I was asked to produce a boolean array and implement some operation. private boolean[] set; How can I add integer into the array list?? thanks

Member Avatar for NormR1
0
61

The End.