Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: daisypolly
  • Order by date
  1. daisypolly

    Get an Error as soon as the program runs.

    Hi, I am getting an error as soon as I run my program. The error is main.exe has caused a system error and needs to be closed. I know there is something wrong with my Container class but I can't find out the problem. My Container class Code: #include <iostream.h> //file SetOfPersons.h class...
  2. daisypolly

    Read one character at a time with scanf

    Hi, How can I read 1 character with scanf and then store all the characters in the variable.for example I am trying to do this but it doesnot work; #include <stdio.h> #include <stdlib.h> int main() { char c; float i; int number; float f =50; char newchar; while(c!='\n') {...
  3. daisypolly

    Validation of My program

    thanks but my scanPrice is double.
  4. daisypolly

    Validation of My program

    thanks for the reply I fixed that problem. I have another problem how can I check that when the user enters the price it is in correct format. For example if the user enters 1.5.5.5 It should give an error.
  5. daisypolly

    Validation of My program

    Hi, I am making a small program of cash register. I am having trouble doing the validation. If someone could help me It would me a great help. My Program is: <code> #include <stdio.h> #include <string.h> char itemName ; float itemPrice = 0; float total = 0; int numberOfItems = 0; int number =...
  6. daisypolly

    A simple program in C

    thanks for the reply. I did what you told me the program is now compiling but is in doing what I want to do.some how there is a finite while loop when I enter a string as an input also when the user adds the item the item is not being added correctly. <code> #include <stdio.h> int itemPrice =...
  7. daisypolly

    A simple program in C

    Hi, I am making a cash register in C. I want to have an add ,remove functionality.I am doing that I get an error. The user will press 1 and they will be able to add the item name and the item price. my code is: <code> #include <stdio.h> int itemPrice = 0; char itemName ; int main(int argc...
  8. daisypolly

    vertical navigation menus

    okay..when you click on a submenu and the submenu takes you to a different page the menu is refreshed. For example if I got to a page salmon.html from within the fish menu I want the fish menu to open and show the salmon element highlighted. Let me know if you need more info. Thanks, Sunny
  9. daisypolly

    vertical navigation menus

    Thanks, yeah I think it doesn't work well if i recalculate the whole thing. I wanted to do that so when I add more menu options I don't have to pass any parameters or anything to the function, so a developer except me can add and modify the menu easily. This works, but how can I open the menu...
  10. daisypolly

    vertical navigation menus

    Thanks, okay this is how my menu works at the moment: I have a bunck of lists with anchor tags in it, I am calling the showmenu function and passing it the class of the link and it opens the submenu inside the corresponding list. My problem is I can't pass the link inside the generic function...
  11. daisypolly

    vertical navigation menus

    Thanks for you reply. I have the pages of the menus in different directories, for example a fish directory contains pages regarding fish, we can see from the URL the different pages, I am not sure if this is really a good idea to use this? Reckor: Your idea sound good, but I don't want to put...
  12. daisypolly

    vertical navigation menus

    Hi, I am making a dhmtl menu and I want to keep the submenus open on their corresponding page by using one include file of the menu. For example,take this as my menu: Fish Salmon Tuna Flowers Tulips Lillies I want the Fish submenu to open when I go to a page that is about fish(on my...
  13. daisypolly

    coloring the row

    any one has any ideas i really need help with this
  14. daisypolly

    coloring the row

    hello, I am really having trouble creating this macro if some one can help me it will be very much appreciated. I have two workbooks name of first workbook is "pro" and the name of the other workbook is "tim" what I want to do is that if the row of "pro" A2 to G2 is empty and the row of the...
  15. daisypolly

    rounding in sql

    also i would like to know some thing else. SELECT A.jason, B.Lidia FROM Log.hih7868 A Log.hih7868 B Log.hih7868 C Log.hih7868 D I need to understand the from syntax. I understand that Log is a table and hih7868 is a field in that table but what does A stand for. Thansk for helping
  16. daisypolly

    rounding in sql

    thanks how would I display decimals.
  17. daisypolly

    rounding in sql

    MySQL.
  18. daisypolly

    rounding in sql

    thanks i think i made a typo there: (DAYS(CURRENT_DATE)-DAYS(video.datecreated))/30 and DAYS is an SQL function. daisy
  19. daisypolly

    rounding in sql

    I tried this one also but does not work.any other ideas
  20. daisypolly

    rounding in sql

    This is not working is there a function with I can do this

Part and Inventory Search

Back
Top