199,114 Archived Topics
Remove Filter ![]() | |
Hi, i don't know how to start with this problem. Lets say i have 6 random letters in any order, "mnador" and i need to find all words those letters can make e.g. "random", "roam", "man", "and" etc. from a wordlist.txt that i have. Any tips? | |
For programming we need editor , compiler and next one to rum??? help me woth third one... folks... best IDE for java programming ????? | |
hi guys, i just want to add selected products into cart without payment gateway process.i want the coding tnx | |
[CODE]#include <iostream> using namespace std; int main() { char a, b, c, d, e, f, max; cout << "enter a b c: "; cin >> a >> b >> c >> d >> e >> f; max = a; if(b>max) max = b; if (c>max) max = c; if (d>max) … | |
how can i populate listview from database? If the user search for a particular column (ex.Employee) then the output will be on the listview. | |
Hey guys I was wondering if I was doing this right or not. I am writing a program that asks for a grade like A, -A, B+, -B, B and so on. each letter grade is equal to a certain number like in a persons GPA, A = 4.0, -A … | |
The short of it is that I have a widget, with source, written in Tk, specifically an analogue gauge, that I would like to use in a TKinter gui. Is this even possible? If so, how? Thanks for any insight you might have. | |
I'm trying to figure out how to allow users to upload images, I'm starting easy with something I know tkinter can handle with no coercion, gif files. I've figures a bit out, but I'm having issues getting the image to actually SHOW. [CODE]from tkinter import * from tkinter.filedialog import askopenfilename … | |
I want to concatenate Emp_ID and First_Name column but it gives multistep error. my other table works fine except for the EMPLOYEE table. [code] try { con.Open(); ds = new DataSet(); dt = new DataTable(); ds.Tables.Add(dt); cmd = new OleDbCommand("SELECT Emp_ID + First_Name FROM EMPLOYEE", con); cmd.CommandType = CommandType.Text; dAdapt … | |
How to drag and drop multiple listbox items from one listbox asp.net server control to another in asp.net webforms Kindly give me a solution to this problem It's very urgent..... Awaiting reply, regards..... | |
hi dear ! i would like to ask on how to create list box in php .. can u give me a full sample code .. from the start til end? thanks so much and more power to to u | |
As I am adding google +1 button and such things, i am getting new stuff to add to my opening html tag. It is a real hassle having to go back and add the new links or piece of code inside the opening html tag. Can I feed the open … | |
Hi peeps I wonder if someone can tell me about having includes inside of includes. Basically I have a $code_block =. "some small content" but inside this small content, I need to refer to another include, something like this: "page.php" if (...){ $display_block = "text text"; }else{ include('../code_block.php'); $display_block = … | |
Hi .. i need some help here .. i'm a 3rd year student of computer science .. and i'm pretty new to these stuffs .. my problem is i have to validate the the checkbox and i have to make computations from it .. here's the code : [CODE]<h1><center>LOAN AMOUNT</center></h1> … | |
I have a friend with a dinner and he wants to take his iphone and add up how many drinks are being had by each specific person at the bar and store them with date stamps while adding how many drinks they have had total in the life of their … ![]() | |
Please help me. Can you guys tell me how to put a background color in C. | |
Hi. I added a file called "sldata.txt" to my Silverlight solution (which I test in an ASP.NET site) in VS 2010. But when I try to access it using stream reader: StreamReader sr = new StreamReader("sldata.txt"); I get a SecurityException - File operation not permitted. Access to path 'chatdata.txt' is … | |
[CODE]import java.util.Scanner; public class sum{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); System.out.print("Enter n: "); int n = scanner.nextInt(); System.out.print("Enter m: "); int m = scanner.nextInt(); int sum = 0; for(int i = 0; i<=n; i++){ for(int j = i+1; j<=n; j++){ sum = i * j; … | |
Hai, Currently I'm writing code in ASP.NET using VB language. In my page, In left panel I have set of contents and in right there is a Calendar(Refer attachment CalendarView). I am using jquery (draggable pluggin)Drag Over and Drag Out methods to drag and drop the contents into a particular … | |
Hello all. I'm currently working on this project and I have this problem that I can't figure out. take a look at my codes and please give me some ideas. I'm kinda new to C++ by the way. thanks [CODE] #include <iostream> #include <cstdlib> #include <ctime> using namespace std ; … | |
Ok, I have chosen my exact path in life and need to learn this: How would I program for Linux? I have only minute ammouts of windows programing so start from absalute basics (like after cout and cin and main() stuff, start at oh something like LinMain or whatever linux … | |
hi guys. can anyone tell me why this code doesn't work? It doesn't raise any error but neither does it provide the expected results. [CODE] my_list= ['a','b'] class my_class: def __init__ (self): self.name = ' my name is hi' for a in my_list; a = my_class() [/CODE] a.name() gives and … | |
hello daniweb, I am new to C Programming,can anyone explain me the functionality and uses of getline(),with advantages and its disadvantages and where to use? thanks in advance | |
Hii my question is how do we decide when to use which type of datatype For eg in some program we get int i, whereas in some programs it is float i, whereas in other programs it is double i....so how do we know which datatype to use...I am confused … | |
So here is my code for a sum function for a vector - using boolean success to just pretty much catch simple errors and what not However when I compile it says that success is undeclared in my int main() and I was just wondering how to properly declare it … | |
The errors in the program say all the cases besdies the 1st ones inside the "woods" function are not within a switch statement, i think its something to do with the if statments i have inside the switches, any help to help me solve this would be great, thanks everyone. … | |
Hi there, I have a question related to this topic, i dont know if I should make a new thread or how to make a new thread. I am making an adult website and I just need a disclaimer and 2 buttons one that verifies age or one that redirects … | |
Hello, I am new to this site, and new to programming. I am currently pursuing an associates in associates in programming and am taking an intro class to python, but i am having a serious issue with raw_input. For some reason i am having a hard time understand raw_input and … | |
I keep getting an error saying that I am not using an object while calling a method, but I do not see how i this is the issue since I declare my class as a class... here is my code: [CODE]#ifndef __STACK_H #define __STACK_H #include <iostream> #include <cstdlib> using namespace … | |
The input is in a text file and it being read by the code and stored in "line" by using getline. The input is just math operations.. 1*8+2 etc. Only * and +, nothing else. But the file can also contain invalid strings such as "1++" "1+2*+4" "2 + A … | |
Hello all. I'm having problems figuring out how to get atof working in my program. I'm not sure exactly what I'm missing, and I was hoping someone could point me in the right direction. Thanks. [CODE]#include <math.h> #include <stdlib.h> #include <ctype.h> #include <stdio.h> static int top = -1; static double … | |
How would I define the command of a given button in a messagebox window? i.e. if I were using askokcanel how would I make the ok do a certain action and cancel another? | |
Hi there, I'm fairly new to java and I have a question about creating an array of objects for a class and allowing data entry for each individual object in the array. I'm a little confused on how to go about doing this correctly. As of right now I have … | |
Hi Guys, I need to create a system that can answer a question related to basic programming. It is somewhat like Artificial Intelligence. Does anyone have ideas to how can i do it? Thanks | |
I'm looking to be able to have users register on my site or the forums (or vice versa) and be able to login to either with the same details. Is this possible? I sure as damn hope it is!! Hellppp! Also, how do I have users register? myBB comes with … | |
Hello everyone, Im kinda having some trouble with my code and was hoping you guys could help me out. Here's what its supposed to do: have asteroids, shoot bullets, move, and have hyperspace (just a little warp to a random point on the screen) Here's what it does: the ship … | |
Is this possible? I need to read the data from a stack (and a queue), but I need to maintain the stack (and queue) so they can be used later. I have not found any useful information online. My only thought is loading the data into a parallel stack before … | |
I'm suppose to end up with a label box with my name spelled out in it using string manipulation. This is suppose to happen using the concatenated string to output the name into the label box. I don't have any error codes but I also don't have my name in … | |
I'm encountering some problems with converting Delpi7 pascal to C#, maybe a fresh set of eyes will see what I can't. Pascal [CODE] procedure TForm1.Button5Click(Sender: TObject); var Data: TData; i: integer; s: string; begin if not (CheckBox1.Checked) then begin StatusBar1.SimpleText:='Bidirectional operation not allowed'; exit; end; for i:=0 to 255 do … | |
I have a question similar to this, [url]http://stackoverflow.com/questions/457050/how-to-display-text-in-system-tray-icon-with-win32-api[/url] I tried his solution but it's not working for me. I get a small 4x16 white image as the system icon instead of text and I can't understand why. I'm not using MFC/.NET just win32 api. [CODE] void UpdateIcon(HWND hWnd){ NOTIFYICONDATA nid; … | |
i m working with sessions.. i have problem with sessions here is my coding " <?php session_register("admin_id"); if($_SESSION["admin_id"]=="") { header("location: login.php"); } ?> " i want to register a session but when i use session_register function i got error ""Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\xampp\c\admin\session_check.php on line 2"" help … | |
Hello Everyone, I am working on a package delivery simulation. I believe I have a bug. Lines 47-53 give the user the option to choose a particular moment of time where they can see a snapshot of the system's status. The program seems to break down if I choose to … | |
I did some transformation of overcomplicated Rosetta code version | |
I have a form with checkboxes [CODE]<input type="checkbox" name="yo[1]" value=1 <input type="checkbox" name="yo[2]" value=1 <input type="checkbox" name="yo[3]" value=1[/CODE] I want to to insert values into db exactly like this create table tablename yo1 tinyint default 0 , yo2 tinyint default 0, yo3 tinyint default 0 insert into table set yo1=value, … ![]() | |
![]() | Hello! I am trying to make a mimic code of LS command in C. It is compiled with gcc in ubuntu, and I have some questions to ask. I have used opendir to open current directory, and then i read each directory using while loop to print all the directories … ![]() |
I am working on an assignment that requires me to read in a text file with text that looks like this [CODE]974 Headlight_LoBeam 6 12.87 5 3[/CODE] I am able to open the file successfully and just for testing purposes I am able to use getline() to get the first … | |
Hello All, I am trying to return three integers from the load function below. Right now, the program only returns the throughput variable. How do I use this function so it returns all three? (I am trying to implement this in a larger project where I cannot call the load … | |
Hello all, I need a step by step spring tutorial since i am new to spring framework books seems to be more theoretical and i need a more practical tutorials , please help Thanks | |
Has the following code any practical utility apart from showing the working of pointers? I got it while learning c in which the tutorial showings the features of pointer. Does a C programmer use this kind of code where a int pointer has been declared first and assigned a value … | |
I am getting a [B] frustrating[/B] error with my PHP Code. I am not using short tags, or anything else that causes this error. I checked the brackets, they are all in place. Can you help me? [CODE]<?php require_once('recaptchalib.php'); require_once('config.php'); $privatekey = CAPTCHA_PRIVATE_KEY; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); … ![]() |
The End.