199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for EnriqueI

Hi everybody, I have a problem and if you could help me as soon as possible I'll really appreciated I have finished a C++ program but I've got a problem in a small part of the program ,I tried to solve it many times but so far I couldn't figure …

Member Avatar for EnriqueI
0
206
Member Avatar for sota

Hi all, I ve been seeking a tutorial,article etc. about 2D cliext::vector . These are using <cliext/vector> library and cliext namespace. At once i need 2d vector decleration and its erase method to remove all rows which are full of zeros. Any help 'll be greatly appreciated.

Member Avatar for sota
0
378
Member Avatar for rdchislett

I'm trying to set up a query to sum a value for each user by month and then calc the percentage of that user's total vs the total month's value. My query below works as long as its limited to one month. I've tried to group my subquery the same …

Member Avatar for rdchislett
0
118
Member Avatar for cip6791

Hello, I want to create a favorites option for something I am working on. I have two tables. The main table where the posts are kept called "place". [CODE]+---------+--------------+------+-----+-------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+--------------+------+-----+-------------------+----------------+ | id | int(11) | NO | …

Member Avatar for cip6791
0
93
Member Avatar for evilguyme

Hey guys i have yet another problem. i would like to know how i can display my mySQL database results on a webpage in a certain layout. i want it like .. lemme just upload a picture.. it is attached. i want to display that layout for every row there …

Member Avatar for broj1
0
114
Member Avatar for Goldfinch

I was writing this simple loop and it's giving me trouble. It's supposed to count through the permutations in a deck, so Suit is supposed to go as high as Suit: 3 and Rank is supposed to go as high as Rank: 12, but it isn't doing that. My program …

Member Avatar for Goldfinch
0
181
Member Avatar for LdaXy

i'm testing out a template function i created for a header file i'm writing, but it will not compile for some reason. it's giving me problems with iosfwd, although i'm not using it. [CODE]#include <iostream> using namespace std; template <class LOGICAL_AND> LOGICAL_AND __and(x, y) { return x==y ? 1 | …

Member Avatar for jaskij
0
302
Member Avatar for anthonyjpv

Hi Im new to php programming as part of my academics, Im building an e-commerce website can you give me some tips on how to build robust site?

Member Avatar for diafol
0
321
Member Avatar for deucalion0

Hey guys, I am creatiing a website where I need a sidebar with different links, each link will open a different version of the product page, only the content part will be different. I want to know how I can change the content part of the product part depending on …

Member Avatar for diafol
0
130
Member Avatar for shielaolid

[CODE]<?php // if there are any errors, display them if ($error != '') { echo '<div style="padding:4px; border:1px solid red; color:red;">'.$error.'</div>'; } ?> <form action="" method="post"> <input type="hidden" name="id" value="<?php echo $employee no; ?>"/> <div> <p><strong>ID:</strong> <?php echo $employee no; ?></p> <strong>Month: *</strong> <input type="text" name="firstname" value="<?php echo $month; ?>"/><br/> …

Member Avatar for shielaolid
0
1K
Member Avatar for sokoxs

Hello everyone! I am new to VB.Net and I am actually developing a simple POS system. I am using visual studio 2010 and Access 2007. I created a form where the user can search the database and view the invoice details by entering the invoice id in a textbox. The …

Member Avatar for sokoxs
0
230
Member Avatar for randrum1707

Hey everyone, I'm trying to remove all punctuation from a string of characters. Here is the part of the code that I'm using to remove the punctuation from the string (string1 being the string). [CODE]for (int i =0; string1[i]; i++) { if(ispunct(string1[i])) string1.erase(i,1); } [/CODE] It is removing punctuation perfectly …

Member Avatar for mazzica1
0
530
Member Avatar for engineern

I have an assignment to program a simple program that names each member in my family and how they are related to me. The program compiles and all, but as soon as i type in any name, this is what shows up: Run Command: line 1: 3805 Segmentation fault: 11 …

Member Avatar for engineern
0
181
Member Avatar for issaru07

i actually trying to run 2 select queries and get user id from members3 table and productid, title,price, categoryname and img from product4 tables. i quite noob in php so not too sure whats went wrong. there is no error msg show just that my database data only have userid …

Member Avatar for issaru07
0
158
Member Avatar for inspire_all

i recently read that we can pass function to a function by using pointer to a function. i tried with an simple example.i defined sum function and passed it to average function so that it calculated average of return value from sum and 2 more nos.. rather than convenience point …

Member Avatar for rubberman
0
254
Member Avatar for student_learner

suppose that i write a program in turbo c: Q1.) the operating system program is in RAM.(yes or no?) Q2.) the turbo c application is in RAM. (yes or no?) suppose that i have written this simple code: [code] #include <stdio.h> #include<conio.h> void main() { clrscr(); int a=2,b=3,c; c=a+b*3; printf("%d",c); …

Member Avatar for rubberman
0
333
Member Avatar for aruabc

Hi, I am studying .net. I need a code to enter data into database from a website... please help... thank you. :)

Member Avatar for aruabc
0
105
Member Avatar for Lucaci Andrew

[CODE]def prel(x, i, j): if (i < j - 1): k1 = (j - i + 1) / 3 k2 = 2 * k1 prel(x, i, i + k1) prel(x, i + k1 + 1, i + k2) prel(x, i + k2 + 1, j) for k in range(i, j): …

Member Avatar for Lucaci Andrew
0
229
Member Avatar for lbgladson

In the program below I am trying to overload the +, -, *, >>, <<, ==, and != operators. I cannot get the code to compile and am not sure what I'm doing wrong. I have posted the code and error messages below: Complex.h [code] #include <iostream> using namespace std; …

Member Avatar for lbgladson
0
606
Member Avatar for JACOBKELL

I have following code which check does targeted word exits in sentence and it's working. [CODE] $text = "blablavalueblabla"; $word = "value"; $pos = strpos($text, $word); if ($pos === false) { echo "You word is found in this sentence"; } else { echo "Your word it's not found in this …

Member Avatar for diafol
0
8K
Member Avatar for Candace Parker

Good day, people! I have here a code in C that needs improvement. It should list all the permutations of ABCDEF where C and E should be beside each other in any order (CE and EC). I know that I must treat C and E as one so I used …

Member Avatar for WaltP
0
3K
Member Avatar for jman2011

Here is what i got. I need to count the Uppercase entered in a string. Can someone help me? Enter string: The Brown Fox #of Upper Case: 3 My Progress: #include<iostream> #include<string> usingnamespace std; int main() { char string[15]; cout<<"Enter string: "; cin.getline(string,15); . . . . } I need …

Member Avatar for WaltP
0
196
Member Avatar for rushikesh jadha

how to store MySQL table data into file and then again from file to table using java program.

Member Avatar for rushikesh jadha
0
158
Member Avatar for fredsilvester93

in function stars code is returning garbage value if i input date between 20 Dec - 19 FEB (it should return 0) i want it to return either 0,1,2,3,4 satisfying the condition... Please help me with this problem!! [CODE=c]#include <iostream> #include <string> #include <stdlib.h> using namespace std; int stars(int date, …

Member Avatar for VernonDozier
0
101
Member Avatar for kolibrizas

So I am trying to make let's say, a chat software. For this example there will be two users X and Y and the Database named DB: 1. Both X and Y are connected to DB 2. X sends a message through a form by clicking submit, 3. the message …

Member Avatar for kolibrizas
0
280
Member Avatar for DevNet

Hi guys. I just having a little problem about creating a good console GUI for our homework. My program is just a simple shopping cart program where in we were asked to create a GUI that asks for the user if he is either a ADMIN user or a CLERK …

Member Avatar for rushikesh jadha
0
169
Member Avatar for vartikachandra

i have to store msgs of string type in a file in java.how do i distinguish between 2 msgs.and how shud i delete the first msg in the file. for eg: "My name is abc.I am fbvnfdl.I am a girl." is stored in a file. and "My name is abc.I …

Member Avatar for stultuske
0
208
Member Avatar for dijjio

Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …

Member Avatar for dijjio
0
134
Member Avatar for kiki256

Hey, I have to build an addition calculator. in the application interface should have a label on top which displays the number you clicked then under the label a running total label and then under than there should be a keypad with numbers from 0-9 and a plus sign. my …

Member Avatar for abelingaw
0
304
Member Avatar for 3nrichedd

Working on this program that uses 2 classes and a client program to test them, I keep getting this error pointing at my constructor, not sure what i am doing wrong but could use some assistance if anyone is able to offer, the error i am getting is: cannot find …

Member Avatar for stultuske
0
211
Member Avatar for yeeitsneo

hi. im currently making a program. and im having a bit of a problem with checking if inputs on my text boxes correspond to the one im requiring the user to input. see. i have three text boxes. i only allow users to input q,d and n into each textbox. …

Member Avatar for abelingaw
0
168
Member Avatar for programmerb

please someone help me in printing 2 outputs in c using for or while loops . i am a begineer and i need help fast please. 1st pattern : 0 111 22222 3333333 444444444 55555555555 upto 10 . 2nd pattern: ABCD EFGH IJKL MNOP QRST UVWX YZ PLEASE HELPP

Member Avatar for inspire_all
0
117
Member Avatar for TF401

Hi, I want to know what Windows language can make ALMOST all sorts of automations like : [I]- sending keys, to a focused window ; - sending mouse clicks to specific coordinates in a window ; - finding if a window exists, by name ; - set it to be …

Member Avatar for TF401
0
221
Member Avatar for SeniorAlexandro

I recently added hsProgressbar.dll to my Program, it worked fine, but then I decided to remove it from my Computer and also remove it from the references...however..the Warning is still there? How can I completely remove it, so that I don't get the error anymore? Thanks in advance.

Member Avatar for SeniorAlexandro
0
139
Member Avatar for Jnk

Hello I am a new to C++ and have some questions. I have two classes called Point and Square like this: [CODE] class Point { int x, y; public: int getx() const { return x; } int gety() const { return y; } Point(int a, int b) { x = …

Member Avatar for Jnk
0
457
Member Avatar for Kalpesh Rajai
Member Avatar for Martin C++

Hello, I need to get two get functions from url, but I cant get the second one, how can I do it ? Something like this: [CODE=PHP] <h4><a href='?p=edit-page.php?page=$id'>$title</a></h4> [/CODE] The p will include the edit-page.php in my container which is just list of page titles and when I click …

Member Avatar for Martin C++
0
107
Member Avatar for mallikaalokam

package class import java.io.*; import java.lang.*; import java.util.*; package Yo public class C { String s,f,d; C(String s,String f,String d) { this.f=f; this.s=s; this.d=d; } void displayj() { System.out.println("1st arg passed:"+" "+s); System.out.println("2nd arg passed:"+" "+f); System.out.println("single arg const:"+" "+d); } } main class import java.lang.*; import java.io.*; import java.util.*; …

Member Avatar for rushikesh jadha
0
197
Member Avatar for Matkoo

Hello, guys. I made a program to compare numbers, Example input: [QUOTE] 1 3 10 845157 2 1101101 16 5AE12 [/QUOTE] It transfers numbers from different number system to decimal, then it compares them, but it is not so fast as i need, maybe just a little advice needed, I …

0
178
Member Avatar for kahaj

Hello all, I have a .zip file which is stored within a BLOB file. Using SQL Developer, how can I extract the .zip file from the BLOB in order to either open the file or store it on my local drive? I've never dealt with Zip files in BLOBS prior …

Member Avatar for debasisdas
0
156
Member Avatar for Gribouillis

I discovered and installed a firefox addon called Remote Control. This addon starts a telnet server which lets you send javascript commands to the firefox web browser. Combined with python telnetlib module, it becomes very easy to reload or change the content of a tab in a running firefox from …

Member Avatar for Gribouillis
0
928
Member Avatar for untruth

There is one table that have fields included the add row button. I am using onchange event to call data from other tables, so when I select an option in the option box can automatically get the value that has been selected earlier ([B]do not need input the value manually[/B]). …

Member Avatar for untruth
0
195
Member Avatar for hallianonline

hello I have a form which have 5 drop down boxes which contains the initial values now this is my database I want to make a search result page in php which displays a single record with have following validations: [LIST=1] [*]if all options (college, class, rollnumber, student_name, section) vaules …

Member Avatar for mohamedasif18
0
141
Member Avatar for emidevil

Hi. im kinda new here . i just want some help with this code i cant seem to figure out my problem, i already declared a constructor but it keeps on saying cannot find symbol when i compile it -_- import javax.swing.JOptionPane; import java.io.*; public class Sample_Thread { public static …

Member Avatar for DavidKroukamp
0
574
Member Avatar for sonicx2218

I like coding, though I'm really stupid, and not very good at it. I'm having trouble figuring out how to remove spaces from a String. I'm such a noobie.. if anyone wants to take a few min to educate me i'd appreciate it. The thing i was attempting to do …

Member Avatar for stultuske
0
119
Member Avatar for scheppy

I'm having some trouble using getClientproperty() to get a string value btw, im using java 1.4.2, so no autoboxing I know how to get int values, and here is an example, which works perfect in my program, [CODE] cx = ((Integer) btn.getClientProperty ("cx")).intValue (); [/CODE] but when i try to …

Member Avatar for JamesCherrill
0
257
Member Avatar for karthik_ppts

Hi Frendz, I need a solution to stop an embed youtube video at a particular timestamp. Any possible way to do this?

Member Avatar for karthik_ppts
0
406
Member Avatar for shireesha1

hello people, I am working on a asp.net project using c# where i need display 1 or more tabs on a web page based on selection of item from drop down list.I am planning to use multiview menu control to give a feel of tabs on web page. can you …

Member Avatar for partha.asp
0
1K
Member Avatar for kartisathis

*********************************************** select * from table_name where RIGHT_CODE IN (SELECT GROUP_CONCAT(''',`RIGHT_CODE',''')as right_code FROM table_name GROUP BY `GRP_CODE` , `ROOT_DESC` HAVING count( `RIGHT_CODE` ) >=2 **************************************************** Actually the above query returns empty result. But the query Inside IN cluase which returns ('1','28').. If i directly pass the value inside IN clause means …

Member Avatar for kartisathis
0
5K
Member Avatar for markdean.expres

Guys anyone knows how to create tables at runtime? Or if it is a long story, kindly direct me to a site where I can learn more... Thanks

Member Avatar for markdean.expres
0
159

The End.