132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BogdanCov

Hi. I try to change the text color of console in C++. I know some commands like . system("color fg"); But I want to change the color of only one line of console. Is this possible? Would someone help me, please?

Software Development c++
Member Avatar for c0d3rH4ck
0
5K
Member Avatar for Benjamin_10

Hi I've got most of the code finished but I can't for the life of me figure out how to correctly count neighbors for the edges and corners of the array. These are the rules. If the cell is currently empty: If the cell has exactly three living neighbors, it …

Software Development c++ gaming
Member Avatar for Hiroshe
0
4K
Member Avatar for Brennan_1

Hello so hopefuly someone can help me but i cant seem to find the error and my teacher is in Flordia for the next week so i dont have him to ak for help. So my project was to read input from 11 .cpd files one at a time and …

Software Development c++ file-stream ios
Member Avatar for Hiroshe
0
272
Member Avatar for henryz_box

I'm using VisualBasic.Net 2010 Pro, Windows Form Application, Win. 7, Wamp Server & MySQL Database This CODE is from the Declarations Section of the main form. Imports MySql.Data.MySqlClient Public Class Login Private mysql_host As String = "Localhost" Private mysql_player_log As String = "root" Private mysql_pass As String = "" Private …

Software Development mysql vb.net
Member Avatar for henryz_box
0
1K
Member Avatar for sankubha

Am developing a c programming which contains windows.h header file and GetWindowText api functions.Now i want to run it in linux.Is there is any api in linux or is there is any possiblity to run the c programming on linux.

Software Development api c microsoft
Member Avatar for Ancient Dragon
0
462
Member Avatar for kickbass6

I am trying to set up a program that will allow the user to be able input the size of sn object and then build an array from the inputted size. So basically have cin << size -then- int positioan [size] I am getting an error about having the array …

Software Development c++
Member Avatar for vmanes
0
5K
Member Avatar for rikb53

guys - most of the export to excel code i've found really doesn't wind up being excel. it's simply HTML w/ a .xls tag on it. and i've done this for years in asp.net, winforms in both c# & vb.net. but it's always a hack. can someone point me in …

Software Development html-css microsoft-office vb.net
Member Avatar for Reverend Jim
0
233
Member Avatar for MasterHacker110

Hello, I have this program that will check and see if the email address the user entered contains valid characters and the @ and . character. The only problem is that my program isn't working... When I enter a valid email address it says it is invalid, when I enter …

Software Development pascal
Member Avatar for Mya:)
0
6K
Member Avatar for cristianvasuica

hi there. Could you please help me out? I am a student and I started to learn Delphi to build an application for semestre exam.It is about students evidence. So I have downloaded Delphi from Embarcadero site and I`ve started reading the help manual..I want to use MS SQL Server …

Software Development delphi pascal seo
Member Avatar for Mya:)
0
287
Member Avatar for asia_6969

hello .. i just need a lil guideline... m making a program where i have to apply counting sort on the data which is comma seperated and it is written in a text file like this 59,54,40,79,38 28,98,77,71,74 24,91,56,82,51 74,36,98,29,41 39,10,52,3,24 30,5,4,70,15 29,55,40,56,23 8,94,69,13,37 79,96,54,53,29 12,29,30,99,35 63,87,64,6,6 65,56,80,37,89 total no. …

Software Development c++ dataset
Member Avatar for Ancient Dragon
0
396
Member Avatar for shumaila akbar

what is cin>> nd cout<<.whats the purpose of these in c++ or programming???

Software Development c++
Member Avatar for Vikram Sehgal
0
154
Member Avatar for Vikram Sehgal

my code is showing some problem, what i want it to do is that when the user hits space a ^ is shot from the position of the user and it moves +1 along y axis. here is my code: x2 = x; y2 = y // x = 50 …

Software Development c++
Member Avatar for Vikram Sehgal
0
2K
Member Avatar for Slavi

So, I've been making a gui for a client to connect to a server using it. What I want is when I press Login to connect with the specfied Server address and port name on the gui. If I have hardcoded the Server and port it works but I don't …

Software Development gui java
Member Avatar for Slavi
0
199
Member Avatar for sing1006

JMenuItem mntmLoad = new JMenuItem("Load"); mntmLoad.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { JFileChooser chooser = new JFileChooser(); chooser.setMultiSelectionEnabled(true); int option = chooser.showOpenDialog(testgui.this); if (option == JFileChooser.APPROVE_OPTION) { File[] sf = chooser.getSelectedFiles(); String filelist = "nothing"; if (sf.length > 0) filelist = sf[0].getName(); for (int i = 1; i < …

Software Development java
Member Avatar for sing1006
0
799
Member Avatar for Halkawt.Papula

in below code , how can remove -1-1-1 ... in output this code a want output is equall 5 4 3 2 1 0 6 7 public class Homework3 { /** * smoosh() takes an array of ints. On completion the array contains the * same numbers, but wherever the …

Software Development java
Member Avatar for JamesCherrill
0
210
Member Avatar for Hiroshe

Since trivial problems bore me, I thought I might make a weekly programming challenge for a bit of fun. Sometimes I find it fun to solve a problem, and compair it to other peoples solutions. Let me know what you think about the idea (if you like the idea, if …

Software Development
Member Avatar for Hiroshe
0
153
Member Avatar for Tinnin

Hi All, I'm trying to setup a scroll for a UIView within a UIScrollView. My view hierarchy is: UIView (Controller) > UIScrollView > UIView (I'll call this subView from this point on) I have used the IB to set the layout. I set the top of the subView to be …

Software Development objective-c
Member Avatar for hericles
0
207
Member Avatar for moaz.amin.37

Actually I have two questions 1) Why we not create Object with simple mathod like [(class name) (object name;)] in java 2) Why we use Constructor to create object code below class Run{} Run obj=new Run() why not use this code Run obj=new Run; Please relese my confusion

Software Development java
Member Avatar for Slavi
0
316
Member Avatar for danae.gordon9

Hi everyone, I'm new to programming (and daniweb) and I'm having a small problem with a Caeser Cipher program I'm writing. messageE = input('\nPlease enter string to encrypt: ') offsetE = int(input('Please enter offset value (1 to 94): ')) encryptedE = '' if offsetE < 1 or offsetE > 94: …

Software Development encryption python
Member Avatar for vegaseat
0
262
Member Avatar for masimba81

Assist me with a code to write a program that creates an array to hold bank balances for a bank's 20 clients .The program should display the average balance as well as highest and lowest balances in C++.I was given this as an assigment thanks in advance people

Software Development c++
Member Avatar for richieking
0
132
Member Avatar for harrykokil

hi guys.. im new to this forum and im certain its here that all my problems will be solved. In fact I have a traffic simulation project in python. Im stuck at the very start since ive never programmed in python. I would like to know how to make an …

Software Development python
Member Avatar for TrustyTony
0
10K
Member Avatar for cb1991110

I want the program to only allow integers at certain points. The code works but I have to enter a value twice then it skips a part of my code. My code is ` case 1: char ans; do{ Event event = new Event(); out.println("Please Enter the name of event"); …

Software Development java
Member Avatar for Doogledude123
0
226
Member Avatar for VengefulToast

Hello fellow forum members, I am struggling to understand what I am supposed to be doing with ACL2. So I am given these axioms that define a function called up, and I just need to translate these into ACL2. -- axioms for predicate for increasing lists of numbers (up nil) …

Software Development
Member Avatar for Hiroshe
0
333
Member Avatar for SumTingWong59

http://pastebin.com/embed_js.php?i=TpzkKkYW Here's what I have right now. I am basing it off this ( http://forum.codecall.net/topic/76208-tkinter-ball-snake-game/ ) and trying to change it into what I want, as I'm fairly new to python and wasn't sure how else to start. Could you guys help me make it more simple? I just want …

Software Development python tkinter
Member Avatar for TrustyTony
0
934
Member Avatar for ondegotariq

I would like to write string list items into a single line.At the moment when I do the write,it breaks the line with newline feeds with multiple lines.See section from code below: List<String> stringList = new List<String>(); stringList.Add(line1); while (line2 != null) { if ( line1.Length >= 8 && line2.Length …

Software Development
Member Avatar for ondegotariq
0
169
Member Avatar for docgrid

Hi, I have created a databse using sql database "TestingSQL" using microsoft management studio 2012 and created a simple vb application as a tryout. It works well in my pc and i would be able to access remotely as well. But the problem is, it is only works with my …

Software Development sql vb.net visual-basic
Member Avatar for cgeier
0
279
Member Avatar for Yorkiebar14

Hello, I am trying to create a simple application for personal use for Twitter marketing. This is my first time trying to interact with REST APIs through VB and I have been going around and round getting various different errors. Here is my current code and I get a '401 …

Software Development api social-media vb.net visual-basic
0
247
Member Avatar for kiail

Hello, I'm currently working with a program that using the reportviewer in VS 2012. I have been looking online since yesterday, trying to find any kind of tutorial on how to switch between reports. I have this so far, but it doesn't work. I have another snippet I've been trying …

Software Development asp.net
Member Avatar for kiail
0
273
Member Avatar for henryz_box

I found this along my way of trying to learn how to use databases 1."SELECT usname, password FROM userinfo " & 2." WHERE usname = '" & textbox1.Text & "'" & 3." AND [password] = '" & textbox2.Text & "'" I would like to know how I would execute code …

Software Development sql vb.net
Member Avatar for henryz_box
0
14K
Member Avatar for Violet_82

Hello, since I have realised how little I have understood of the GridBagLayout, I thought I'd open a thread where I could clarify one by one all my doubts. I have produced a very small and simple GUI which I will use to test the GridBagLayout and ask questions as …

Software Development gui java java-swing
Member Avatar for Violet_82
0
666
Member Avatar for Netherblood

Hey there guys, I want to make a program that will track the number of times I have clicked a button. Thing is, I want this to write the information down and load it every time, so it doesn't start at 0 every time you start the program. How would …

Software Development java
Member Avatar for JamesCherrill
0
136
Member Avatar for cyclopsvs

hello python developers, i recently started working on a simple xml rpc application, the simple version is completly working but when i wanted to extend it and add some more functionality i ran into some troubles. i want to register functions from different classes as server methods, i thought i …

Software Development mathematics python xml
Member Avatar for Benjamin_9
0
721
Member Avatar for rahulzephyr

Hi.....Is it possible to place live tiles or animated tiles in c# windows forms? if not what is the best way to display message when i move cursor over the button....to display message using tooltip or something like that which would be atrractive to see that message display....?? any ideas …

Software Development microsoft
Member Avatar for rahulzephyr
0
218
Member Avatar for SuperPink

Hello! I'm new to programming and I'm trying to do a basic hotel application using threads in java. Here is what i've already done: //room class public class Room { private int idRoom; private int etaj; private boolean empty; public Room() { this.idRoom = 0; this.etaj = 0; this.empty = …

Software Development java
Member Avatar for lalaRMa
0
2K
Member Avatar for phony

I'm supposed to create a program to sort a names.dat file. It compiles but nothing is displayed. names.dat Collins, Bill Smith, Bart Michalski, Mel Griffin, Jim Sanchez, Manny Rubin, Sarah Taylor, Tyrone Johnson, Jill Adams, Andrew Moreno, Juan Wolfe, Bill Whitman, Jean Moretti, Bella Wu, Jeff Patel, Renee Harrison, Rose …

Software Development c++ display
Member Avatar for nullptr
0
321
Member Avatar for jkhippie

#include <memory> #include <deque> void MyFunc { std::deque< std::shared_ptr< Sprite* > > SpriteList; func_to_fill_deque( SpriteList ); for( auto i = SpriteList.begin(), end = SpriteList.end(); i != end; i++ ) { SpriteList[ i ]->spriteFunc(); // doesn't work SpriteList.at( i )->spriteFunc(); // also doesn't work } } void func_to_fill_deque( std::deque< std::shared_ptr< Sprite* …

Software Development c++ programming-construct
Member Avatar for jkhippie
0
2K
Member Avatar for pdk123

Hello , I have map of the following type: typedef map < int, vectorofInts > , Now the map has finite size. Each user when he registers, he will be allocated a key. Lets say the map size is 4. U1 will be allocated in K1. next U2 on K2, …

Software Development c++
Member Avatar for pdk123
0
253
Member Avatar for AQWst

Hello-- I am not sure if I should have three separate postings for these questions or just the one, since they all deal with VB.NET. I will list them here and if they should be separated, I understand and hope that I can get help with them. 1) Is it …

Software Development vb.net
Member Avatar for Reverend Jim
0
108
Member Avatar for pwolf

I am considering learning some server side stuff with java, however I am getting mixed views and opinions when searching. I read a benchmark that claims java has superior performance than most alternatives, and I was considering taking a look at grizzly or spring, but I really don't know too …

Member Avatar for Taywin
0
359
Member Avatar for badoosan

I am trying to port some code running on a Linux machine to a Windows 8.1 machine running xampp. I am stumped as to why my cookies aren't getting stored and retrieved. Here's what I'm doing: #!\xampp\perl\bin\perl use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->cookie("CGISESSID") …

Software Development file-system perl session
Member Avatar for Taywin
0
263
Member Avatar for Felix Arba

Hi guys , I'm giving you the full C# project I have uploaded , since I'm working with windows form , so you can see the source code and run it . http://www.sendspace.com/file/u7z6h0 And now , to explain my problem . The program I wanted to make is sudoku solver …

Software Development c c# c++
Member Avatar for Felix Arba
0
562
Member Avatar for JOLO14

Hi, i have problem .I want to load infomrations abour person from text file. There is name, surname and some unlimited poin.We dont know how many points there is. i try to put this informations into vector<struct> person struct{ string name string surname vector<double> points } than i want to …

Software Development c++
Member Avatar for NathanOliver
0
177
Member Avatar for vuze

my code has this structure class Mapsframe(wx.Frame): def __init__(self): import application class Example(wx.Frame,listmix.ColumnSorterMixin): def __init__(self, *args, **kwargs): super(Example, self).__init__(*args, **kwargs) self.InitUI() def InitUI(self): def onItemSelected(self,event): frame = Mapsframe() and i need to pass two variables which have been created localy inside the def onItemSelected to another python script called application.py …

Software Development python
Member Avatar for TrustyTony
0
274
Member Avatar for aanchal_1

after importing pygame, when we convert an image an assign it to a variable, what is the type of that variable?

Software Development python
Member Avatar for aanchal_1
0
258
Member Avatar for vishalonne

Dear Experts When we create table in MS Access we enter description of field in description column. I am able to get the field name and data type from the table but how can I get the description from the table. Here is the code by which I am getting …

Software Development java microsoft-access
Member Avatar for vishalonne
0
309
Member Avatar for edogg23

Hello. I am a complete newbit to Python. I am trying to read a text file (which is actually an svg file) and add a line to the text file. I would also like to remove certain text from the file. I am trying to edit some of the tags …

Software Development file-system python
Member Avatar for edogg23
0
376
Member Avatar for phony

|29|error: expected unqualified-id before ‘{’ token| |27|error: new types may not be defined in a return type| |27|note: (perhaps a semicolon is missing after the definition of ‘DynStack<T>::StackNode’)| 46|error: ‘StackNode’ does not name a type| ||In member function ‘DynStack<T>::StackNode DynStack<T>::StackNode(T, DynStack<T>::StackNode*)’:| |40|error: ‘value’ was not declared in this scope| ||In …

Software Development c++ data-structure queue
Member Avatar for tinstaafl
0
1K
Member Avatar for airhalynn101

I created a form with datagridview for a list of clients. Now, I want to add a Search funtionality for my list, so that the user can just type in the value he wants to see and the row with that value will get selected. Also, I want to add …

Software Development vb.net
Member Avatar for airhalynn101
0
611
Member Avatar for vgkarthi

Hi techies, I am new to webservices. The issue is regarding a SOAP request. The request contains a comment which has the charechter as "&" example., the comment is: You & me & is getting converted to "&amp;" in the receiver side. We tried getting the SOAP request (from our …

Software Development api java
Member Avatar for vgkarthi
0
418
Member Avatar for bloomineck

Hi All, I have a form with 4 listboxes on it connected up to a "books' database.The four boxes are: 1)Authors (this one is a list of authors names) 2)Publishers (A list of the publishers who have published the authors books) 3)YearPublished(A list of the years in which the book …

Software Development dataset open-source vb.net
Member Avatar for PerplexedB
0
100

The End.