- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
52 Posted Topics
Hello everyone, I am having trouble with getting jquery mobile not cache pages on the device. Does anyone know of a way to do this, I am COMPLETELY lost. | |
hello all, I have a question about assigning variables values based on values stored inside an sql database. I have the connection part down, but here is my basic set-up. I have a table with the values {username, password, isAdmin}, where username and password are strings and "isAdmin" is a … | |
Hello all, I am messing around with the jPaginate files, essentially a pagination script using jQuery. I have the mark up working, but I am just messing around (not a real expert in JavaScript) and I have a simple question. When the user clicks on the next page icon, the … | |
Hello all, I am having some trouble with a ; in some php. The code is below with the problem commented out. I have no idea what I am doing wrong and I would like to know why. Many thanks, [CODE]<?php require("init.inc.php"); global $_MYSQL_DB; global $_MYSQL_USER; global $_MYSQL_PASS; global $_MYSQL_HOST; … | |
Hello there, I am messing with some jquery mobile and I have so simple questions (as in I am a real noob). My question is in two parts, first first off, what is the best way to center the contents of table cell data? I tried using "align center", but … | |
Hello all, So I am just playing around with different ways to format output to the command line in c++. I already found information on how to change the color of standard output (both in Linux and Windows). Is there a way to highlight output to the command line? I … | |
Hello all, I am trying to debug some code that I have come across. It is an array based BST, and I can not figure out why the parent's are not being recorded correctly. Essentially the first few inserts work, and then the parents become incorrect. Can anyone give me … | |
Re: best way to do this is to go line by line and try and match pseudocode for c++ statements for example: you have "initialize sum to zero" ---> sum=0; once you have the basics you need to go back and fill in the rest, try that out and then post … | |
hello all, I am writing a program to test sorting times, and I am having trouble with my quick sort. essentially, my quicksort is not sorting and I am having alot of trouble with it. Does anyone see any real problems with my implementation? Thanks! [CODE] //-------------------------------------------------------- void quicksort(name_t *&charArray, … | |
I am not sure what I have done wrong. Essentially I am searching an array for colors. If there is no input, on button click you get an error. If the color does not exist you get an error. If it exists then it tells you. The latter two events … | |
hello all, I am trying to make a menu driven program that uses a while loop and a switch in main. When i choose #1, the code seems to work. However when I type in #2, and enter data, the program goes into an infinite loop, because the menu is … | |
hello all, i am having a real hard time tracing down a logic problem and am looking for help. this program just does a binary search on a sorted list and returns a record. now it works for records that exist. however, i want it to continue searching until an … | |
hello all, so i am taking a 1 hour vb class, and i am having trouble printing formated output to a list box. Basically I have two string variables that i use to format the output, but it is not working. Any clues? thanks [CODE]Public Class Form1 Private Sub compute_Click(ByVal … | |
Re: @moschops hits it right on the head, it also comes down to whether or not you would want to keep data members private rather then having both data and methods to work on the data all public to the program. if you feel like you want more "containment" use a … | |
Re: the problem is because you are reading in 3 variables, so if you do not enter data to the command line properly the program does not work: [CODE] cout<<"Enter your first, middle and last name: "; cin>>firstName >>middleName >>lastName; [/CODE] as suggested above try either using getline, or just having … | |
I feel bad for asking all the questions about the STL list, and thanks to those who have been helping me learn. I have a question now about inserting again, except this time I want to insert an extra data point into a tempList. I have commented out the code … | |
Hello all, So I am having trouble figuring out a runtime error I am getting in my code. Essentially I read in data and push it into two lists (using the STL list). Then I use the .sort() function to sort the data by average. However I am having a … | |
Hello all, I know there is a "sort" method in the STL for list. However I am not sure how to use it, and my research was unable to help me out. What I am trying to do is sort my master list by the averages, lowest to highest. Can … | |
Hello all, So I am new to the whole STL List class, and I am a little confused. In the past I have always had two classes, a data class and a "linked list" class. So now I have a bit of a pickle when I try to make a … | |
Hello all, So I am NEW to all this, and I have a quick question with some code of mine. When I open this code in PC SPIM I get the following error: spim: (parser) syntax error on line 18 move $a0, $t4 #move the number to print into $a0 … | |
Hello all, So I have been trying to "redo" a c++ program in c and I am getting stuck on strings (I dont code in c never have still learning). Any who in my C++ program, I use string concationation tools to print out select output, however c does not … | |
Hello, I have a program with the following variable: [CODE]char dateCode[13];[/CODE] and the this type of data is held by the variable -> 2011006+0000 Now if i want to print only 2011006, and ignore the + and everything after, is there a way to do that in c++? Would i … | |
Hello out there, I am trying to compile some simple code but am running into a weird error that I can not figure out terminate called after throwing an instance of 'std::ios_base::failure' what(): basic_ios::clear Aborted This is happening when I do an Infile>> read in the code below. What I … | |
Ok so I have been working on a little php (with my VERY brief background). The goal of the script is to take a students username and password, and then show them there grades. However when I test the script, it just falls through and redirects to the final else … | |
Hello out there. I had a professor who had a login section for his course website that allowed the student to enter a unique id# and submit to get there course grade. Now that professor is no longer here but I know the page was of type .asp. Now I … | |
Hello, I work for a college newspaper as a "sys admin" of sorts. Really I am just the webmaster, but I have inherited the other title by default. In our office, we have about 9 iMacs running OSx (at least osx Im sure). I have about 10 users that I … | |
Hello all, I have a question that is more based off of a unique occurrence (unique for me having no real prior php knowledge). I am trying to create a webpage where a user inputs a password, and a php reads the user inputed key and then compares it to … | |
Hello, So I am just starting to really use Make files in Linux, and I am getting the following error when I try to "make": c++ -c main.cxx In file included from main.cxx:2: LinkedList.h:39:26: error: LinkedList.cxx: No such file or directory make: *** [main.o] Error 1 Here is my make … | |
Hello everyone, I am trying to create a website banner with a google search integrated within the banner. I want to do something similar to what you see on this page and on sites like [url]www.cnn.com[/url]. However I am totally new to webdesign and would like some advice/help on this … ![]() | |
Re: on line 10 you have a semicolon before your namespace decleration.... as far as your errors, when ever you see something that says "overloaded" I would make sure you really read over those functions and try to make them distinct. This has worked many times for me in the past | |
Ok so I am a total newbie, and for our last programing assignment in my class we are going over Binary Search Trees. Out assignment is to take an older program and make it into a binary search tree. I am using Visual Studio and I have gotten past all … | |
Hey everyone I am posting this question for a friend of mine. Yesterday after he left school he has not been able to use wifi connections what so ever. The problem is odd because it happened once in a sudden. He has an Acer laptop running Vista 32bit. Now, the … | |
hey everyone, newbie programmer here, and i am working on a project to use linked lists, by creating a linked list class. basically i am using old code and modifying it to work with a linked list class. i am using visual studio to debugg, and it seems that my … | |
Hey everyone, I am trying to get my school program on pointer variable linked lists to work, but I have incountered a runtime error. When I try to print my data to the screen or a file, it does not work. I am not sure if my program is not … | |
Hey everyone, I am using Visual Studio 2008 to debug some code where the goal is create a linked list using pointer variables. Here is the main error I am getting when trying to compile: [CODE] error C2227: left of '->Account' must point to class/struct/union/generic type type is 'Link_t' [/CODE] … | |
Hey Everyone, I am trying to compile and run a program for my C++ class, and I am getting a Segmentation Fault as a runtime error. I looked at my code and my datafile to make sure that there was not an issue but I can not seem to find … | |
hey everyone so for my class in c++ we were asked to implement a linked list in an old program. in the old code i had two classes, and the point of the new code was to take the old code and implement a linked list. I honestly have no … | |
Hey everyone, I have to take some code and make my a linked list using the accounts class. would i simply have to replace the list class with a struct???? here is my code.... [CODE]//Assignment #6 due 2-8-2010 #include <iostream> #include <iomanip> #include <fstream> using namespace std; //global declarations typedef … | |
hey everyone, I got a weird error when I run my program. I compile and link and run the program through the terminal in Ubuntu. I have to compile or linking errors, and the program run's fine, except when the program asks: "Would you like to see a display of … | |
hello all I am a second semester c++ college kid so bear with me I am writing a program that takes in bank account info, sorts it, prints it, and then prompts the user if they would like to view any specific records via the account number or the name … | |
Hey everyone, I have this assignment for my C++ class and I need to sort some data I have data in a file in this order: some 10 digit int -the account id some name -the account name some balance -the account balance basically I want to sort the data … | |
Hello everyone, I am a C++ newbie and I am running into some linking errors. I am using Vi to compile and link my code. Here are the linking errors: assign6.o: In function `cAccountList::cAccountList()': assign6.cpp:(.text+0x1db): undefined reference to `cAccount::cAccount()' assign6.o: In function `cAccountList::cAccountList()': assign6.cpp:(.text+0x22b): undefined reference to `cAccount::cAccount()' assign6.o: In … | |
Hey everyone I am writing some code for my c++ class and in this program I am trying to sort back account information by there accountID #'s. When I try to compile, here are the errors I get: assign6.cpp: In member function ‘void cAccountList::sort_by_ID()’: assign6.cpp:110: error: ‘accountID’ was not declared … | |
Hello everyone, I am a college student in his second year of learning C++. Last semester we would use Visual Studio to write and compile our code in. This year we use linux, more specifically the Vi editor. We use linux in two ways, either we use Putty in Windows … | |
hey everyone, so im trying hard to get this assignment done by tomorrow but after sucessfully compiling, I am now getting linker errors. I have to use Vi for this assignment but never the less here are my linker errors: assign5.o: In function `main': assign5.cpp:(.text+0x1026): undefined reference to `Print(cStudent (&) … | |
Hey everyone, I am writing a program for my c++ class to take student records and organize them according to the students last name. All data is stored to a class and I have created an array of class objects(its part of the assignment). I am using Vi to compile … | |
Hello all I am trying to link a program using Vi for my class assignment and I am getting the following error in Vi when I try to link: Assign4.o: In function `__static_initialization_and_destruction_0(int, int)': Assign4.cpp:(.text+0x17b): undefined reference to `cCourselist::cCourselist()' collect2: ld returned 1 exit status Here is my source code: … | |
Hello all Im back with another crazy assignment from my professor and I'm running into the following debugging errors in Vi (we have to use it) so here are the errors: Assign4.cpp: In member function âvoid cCourselist::Load(Infile_t&)â: Assign4.cpp:105: error: expected unqualified-id before â[â token Assign4.cpp:109: error: expected unqualified-id before â[â … | |
Re: hi everyone im new to c++ (im in my second semester) and i have a question about some errors im getting. I am using the vi editor and i am getting the following two errors: assign2.cpp:39: error: âDATAFILEâ was not declared in this scope assign2.cpp:40: error: âOUTFILEâ was not declared … | |
Hey everyone I'm a college student taking semester two of C++ and we have a project using classes. This semester we are strictly using Vi to edit and compile my code. WARNING THIS CODE IS NOT THE WAY I WOULD PERSONALY WRITE IT, BUT MY INSTRUCTOR INSISTS ON THIS FORMAT. … |
The End.