Hi, my name is Appoh Gideon an eighteen year old coder, mastering in HTML5, CSS3, SASS, JS, AJAX, PHP and MySQL. I didn't realise this earlier but I needed to introduce myself. And I love daniweb.

Member Avatar
Member Avatar
+0 forum 6

Hi, I was wondering if someone could help me please.... I am new to java and have been struggling with this for about 2 weeks now!! At the moment I am just trying to get the program to print out a 5x5 matrix with the alphabet in it, using a 2D array. I then need to encrypt the matrix but I could do with getting this to work first! Any advice would be very much appreciated, also it might be fairly obvious from my code but I'm not very good at this!! public class Encryption { public static void main(String[] …

Member Avatar
Member Avatar
+0 forum 2

When i came on Daniweb,i was just learning newbie.Daniweb gave me confidence .How? whenever i faced any problem i knew there is someone over their who can help me out ,so i knew there is no need of a teacher for me.I knew i dont need to get disappointed if i get stuck with a problem while learning.Daniweb has proved to be a teacher and friend to me. But, at the same time i would like to see some changes over here.When a newbie enters site first thing he faces is the punishment for asking a silly question.I know these …

Member Avatar
Member Avatar
+0 forum 11

Hello! So, I'm taking some classes and learning how to write sample programs in Python, and I've stalled out pretty hard on one of the sample programs. The current exercise wants me to do the following: 1. Create an empty list home_prices 2. While loop asks for a home price 3. In the while loop, append a home price to the home_prices loop 4. Print the entire home_prices list, one price per line, with a title that prints just once before the list of prices. 5. Ask user for a mid-level price (not too high, not too low) 6. Print …

Member Avatar
Member Avatar
+0 forum 5

Well, i went into my profile now and I saw it didn't say newbie poster anymore it said light poster!! so i'm happy. Although i'm not really sure what that stuff means?

Member Avatar
Member Avatar
+0 forum 2

ok i am very sorry if this comes off as irritating to some, but i need someone to reassure or direct me. i have learned some programming, very very basic to be exact and i have learned some c# and some C++. the problem is, I like c# because it is more productive right off the bat( i love c++ too.) because of vs WPF integration in .NET, but many articles on especially stackOverFlow talk about not learning properly or as good because c++ teaches all the pointers and memory control etc and youll end up a better programmer and …

Member Avatar
Member Avatar
+0 forum 2

Hi Everyone, :) I'm a newbie here, and I'm looking forward to be a part of this cool community of programmers. Daniweb has helped me a lot to my previous program .. anywayss, I'm a graduating IT student.. (hopefully I would graduate XD) Godbless Us All ^_^

Member Avatar
Member Avatar
+0 forum 6

Hi Daniweb programmers.I am a kenyan guy in University of Nairobi Doing an undergraduate degree in CIVIL ENGINEERING but I am a teaching myself C++ because I feel an inborn calling for coding. I appreciate the forums i have already seen. like Bjarne stroutsup said in an interview with Daniweb, > C++ is victim of its own success, I feel myself in the same status quo like C++ is. I am looking forward to leraning from you guys. Thank you.

Member Avatar
Member Avatar
+0 forum 4

Hi, I'm newbie in Python Programming. I created the below code. I want to optimize it, but dont know where to start. I am sure, I can do the same with less lines of code. Please advise on best practices and ways on how to optimize it. import math def side_1(): print '' print "**********************************" print " Pythagorean Calculator " print "**********************************" print '' a = raw_input("Please enter the value of A: ") b = raw_input("Please enter the value of B: ") if a.isalpha(): print "Sorry, that is not a valid option." else: a = float(a) b = float(b) c …

Member Avatar
Member Avatar
+0 forum 3

Hi everybody, my name is Andrea, I'm Italian and I stopped getting dru... OPS! Wrong thread. :D I am a PHP Developer, nice to meet you all! Best

Member Avatar
Member Avatar
+0 forum 9

Hi, I am new to Python and am looking into web development frameworks i.e. Pyramid. Is there anyone here who is familiar with this Framework using MongoDB? I am using pymongo and Ming I follwed a tutorial [here](http://pieceofpy.com/2012/01/10/working-with-pyramid-and-ming/). I am getting an `AttributeError: 'str' object has no attribute '_auto_ensure_indexes'` in this code : from ming import Session from ming.datastore import DataStore from ming.orm import ThreadLocalORMSession from ming.orm import Mapper session = Session DBSession = ThreadLocalORMSession(session) def init_mongo(engine): server, database = engine datastore = DataStore(server, database=database) session.bind = datastore Mapper.compile_all() # Here we just ensure indexes on all our mappers at …

Member Avatar
Member Avatar
+0 forum 1

I am trying to make a calculator to calculate your age in dog years, the following is the code I have so far, minus the html portion of it <?php if (!isset($_POST['your_age']) ) { header("Location: dog_form.html"); exit; } if ($_POST['your_age'] == "your_age") { $result = ($_POST['your_age'] *7; if ($_POST['your_age'] >= 100 && $_POST['your_age'] <= 199) { $result = "An Old Dog"; } else if ($_POST['your_age'] >= 200 && $_POST['your_age'] <= 299) { $result = "Wicked Old Dog"; } else if ($_POST['your_age'] >= 300) { $result = "Ancient Dog"; } ?> <HTML> <HEAD> <TITLE>Calculation Result</TITLE> </HEAD> <BODY><H2><center> <P>The result of the …

Member Avatar
Member Avatar
+0 forum 11

I NEED HELP! (please and thank you). I have an assignmet for extra points. I'm lost. Out profesor is not explaining anything and the assignments are NOT what we covered so far (which isn't much). I could use any help I can get. I've been trying to google it and how to use functions and i'm helpless. I heard a lot about this forum, so here I am! The assignment says: In recent years, college tuition has risen at a national average annual rate of 15%. a) Write the function definition of this function heather: def Tuition(current, thisYear, targetYear): This …

Member Avatar
Member Avatar
+0 forum 8

Yes, I am a total newbie. I am doing this code for homework. It is giving me an error on the method line is saying that it is missing.Please help. [CODE]import java.io.*; public class discount {public static input in = new input(); public static void main(String[] args) throws IOException; {double price,disc,total,perc; System.out.println("Please enter price: "); price = in.getDouble(); System.out.println("please enter discount percentage rate: "); disc = in.getDouble(); perc = price(disc/100); total = price - perc; System.out.println("Your total cost is: "+total); } }[/CODE]

Member Avatar
Member Avatar
+0 forum 3

Ok so i just started taking AP Computer Science at my high school and I really have no experience with java (just a little bit with python). So for our fist homework we had to try out a few codes and make some programs. I'm getting a " <identifier> expected error at "System.out.println("Enter firsr price ");". Please some help on how to fix it and dont laught at me for not being able to do such simple things, hey that's why I'm learning. [CODE]public class total {public static input in = new input(); int A, B, C, D, F; System.out.println("Enter …

Member Avatar
Member Avatar
+0 forum 4

Hello community, I am pretty new to c# and i have decided to use COSMOS to build a basic operating system, However, all my code compiles correctly but there is one problem, when i type shutdown, the system hangs, it does not shutdown and the white cursor continues flashing but i cannot type anything. ideally i would like it so that the system automatically powers down after the shutdown command is issued. My code so far: [CODE] using System; using Cosmos.Compiler.Builder; namespace CosmosBoot1 { class Program { #region Cosmos Builder logic // Most users wont touch this. This will call …

Member Avatar
Member Avatar
+0 forum 2

hey all.. I'm [U]new[/U] to VB.net and i wanted to find out how i could load the names of files(in a specified dir) into a combobox? I knw i should have posted code..but i only have an idea as to what should happen. correct me where i'm wrong. 1. get the number of files in specified dir 2. add names of files as items in combobox (using a loop structure) 3. when an item is selected. display the contents in a textbox my idea in [U]pseudocode[/U]: [INDENT] [I] for counter = 0 to numberOfFiles combobox.add(fileName) next if (combobox.selectedItem = fileName) …

Member Avatar
Member Avatar
+0 forum 2

Ok so I'm new at programming java(well not that new) but I do tend to hit a lot of wall and give up out of frustration. I need help. Can anyone suggest a book for beginners or something. I'm actually doing a computing course but I really don't wanna ask for help from some of the guys in my course (they think girls suck at programming). Really wanna prove emm wrong :). Ohh I don't mind tutoring :p thanks

Member Avatar
Member Avatar
+0 forum 14

Ok, I need to make a program that randomly generates 4 random letters from 12 random letter and it cannot reapeat the same letter. for example you can only pick from a,b,c,d,e,f,g,h,i,j,k,l and the program can randomly generate a,b,c,d or b,c,d,e but should not generate a,a,b,b or something that repeats.Another is that a letter represents 1 animal. I'm new to rand() and srand() so any links on rand() srand() tutorial may help too. :) [CODE]#include<stdio.h> #include<stdlib.h> int main() { char a=ant,b=bear,c=cat,d=dog, e=emu,g=goat,l=lizard,m=monkey, p=parrot,r=rabbit,s=snake,t=tiger; int i; for(i=1,i<=4,i++) {printf("%c %c %c %c",&i &i &i &i); system("pause"); return 0; } [/CODE] so far …

Member Avatar
Member Avatar
+0 forum 5

Hi I've just switched the laptop on and discovered that I joined in here a few months ago. I guess that I've been stuck to the desktop:scared: Looking forward to meeting you all and learning a lot;)

Member Avatar
Member Avatar
+0 forum 1

Hi all, I'm new to this forum and I am also new to Python and coding in general. While I've gotten through basic tutorials on most general topics of Python such as series, dictionary, parameters, loops, and so forth I am still very much a newbie (as you will see in this program I attempted) My boss at work wanted me to solve a simple math problem in order to help her create a new budget based on a recent grant our organization received. I eventually just did it the basic math way, however I wanted to test out my …

Member Avatar
Member Avatar
+0 forum 8

Hey guys I'm really new to this forum, i signed up to see if anyone has any idea what could be wrong with my PC that i built, generally i'm not that inexperienced with this kind of thing but i wanted confirmation before i go out and buy new parts. The problem is as follows: Computer with start fine and then turn off halfway through booting to windows, with the fans going crazy. However i have found a way around this problem, if i let it sit on the bios screen for about 20 minutes before attempting to start to …

Member Avatar
Member Avatar
+0 forum 3

Hi all, I am new in C programming, currently learning about linked list. I know that there is a lot of examples about linked list, but I decided to write my own code, to make me more understand. I managed to build a linked list, insert a new node after one cell, but I have a segmentation fault after deleting one node. Can anyone help me with this, why I got segmentation fault ? The code snippet (just for the delete block) [CODE] void cell_delete(int a) { cell *p, *q; p=header.next; q=&header; printf("you are before while block\n"); while((p!=NULL)) { q=p; …

Member Avatar
Member Avatar
+0 forum 5

I am new in this forum and I am looking forward to share ideas with you. Hope it will be great for us to do that.

Member Avatar
Member Avatar
+0 forum 5

Hi, I am new in C, trying to create a simple C file, that assign a value for a struct member with the type of string. I can't figure out why it said error : string.c:20: error: expected expression before ‘{’ token, but I don't find any syntax error.. [CODE] #include <stdio.h> #include <stdlib.h> typedef struct _str { char *s; int len; } str; typedef struct create_session { str mouse; } create_session; void bzero (void *__s, size_t __n) __THROW __nonnull ((1)); int main() { create_session *msg_p = 0; create_session msg; bzero(&msg, sizeof(create_session)); msg.mouse = {"1234567",7}; msg_p = &msg; return 1; …

Member Avatar
Member Avatar
+0 forum 4

ok so i have a project for school, and i finished so the teacher wants it to read for a .dat the parameters for the java class here is what i got: [CODE]public void cargarCurso(){ try{ BufferedReader fileIn = new BufferedReader( new FileReader("c:/cursoSem2.dat")); String dataRenglon = fileIn.readLine(); while(dataRenglon !=null){ StringTokenizer stknzr = new StringTokenizer(dataRenglon,"_"); String clave = stknzr.nextToken(); String nombre = stknzr.nextToken(); String tipo = stknzr.nextToken(); String dni = stknzr.nextToken(); String despacho = stknzr.nextToken(); String departamento = stknzr.nextToken(); String dia = stknzr.nextToken(); String hora = stknzr.nextToken(); if(clave.charAt(0)=='P'){ Profesor profesor = new Profesor( nombre,dni,despacho,departamento); curso.addProfessor(profesor); }else if(clave.charAt(0)=='A'){ Asignatura asignatura = new …

Member Avatar
Member Avatar
+0 forum 6

Hello I have been using c for dummies along with bloodshed software for a day or so and I tried putting this snippet of code in from the book and I got a syntax error:[CODE]#include <stdio.h> int main() { char name[20]; char color[20]; printf(“What is your name?”); scanf(“%s”,name); printf(“What is your favorite color?”); scanf(“%s”,color); printf(“%s’s favorite color is %s\n”,name,color); return(0); }[/CODE] I figured this book was up to date (2004) and up to this point the only error I got was from using () around 0 in return. But for some reason this won't compile. And I copied and pasted …

Member Avatar
Member Avatar
+0 forum 3

To do rules of DaniWeb more easy to grasp I have one idea for discussion (there is certain post at the moment in Other Languages as immediate cause, for other background see my [URL="http://www.daniweb.com/software-development/python/threads/359823"]Homework Challenge[/URL] post) My suggestion: [COLOR="Red"][B]DaniWeb voluntaries help you with 10% of the effort that you show us (and 10% of 0% is not much!) ![/B][/COLOR]

Member Avatar
Member Avatar
+0 forum 5

Hey, everybody, I'm a newbie at Python (2.7.1), and new to DaniWeb as well. and the apparent simplicity of Python got me interested in programming (seriously, the only thing before this was HTML). Anyway... I was taking a test and thought that after I was finished I could make an equation calculator. I've got a few simple equations slapped on there, for proof-of-concept, and they work fine. However, I would like to go back to the user input line of code. How do I go about doing this? I've Googled it, and there's no "goto" function like there is in …

Member Avatar
Member Avatar
+0 forum 30

Hi, I'm Quark. I love programming, software design, and computers/technology in general. I use C#, VB.NET, Lua and a little C++ (enough to make a Hello World maybe..) I aim to get a career in computer programming maybe, and to release some of my personal projects that have been very helpful to me! -Q

Member Avatar
Member Avatar
+0 forum 5

The End.