Member Avatar

I got the insert and Delete Data/Row working for my DBMS. The deleteRow method finds the row that contains the same primary key from the database, passed on to the method, and deletes the row. With using the insertRow method, the data I added shows on up on the last row as I wanted. My problem is when I do a combination of calling the insert, delete multiple times the row inserted shows up on the position where the last deleted row was** **when I delete the newly inserted row positioned at the deleted row and inserts it again it …

Member Avatar
0
3
Member Avatar

Will there still be HTML code snippets of our Daniweb member badges where we can copy and include it in our websites?

Member Avatar
0
10
Member Avatar

Here is a complete and working code that 1. Adds the numbers(input) to get a sum(output) 2. Sorts the numbers in a descending order Can you post any suggestions on how I can improve my code :) main.c [CODE]#include <stdio.h> #include "header.h" main (){ int sum, x, y, z,choices; input(&x, &y, &z); printf ("\nChoose function\n"); do{ printf("\n1 -Input-Output (Add) function \n"); printf("2 - Swap and Sort function \n"); printf("3 - Quit\n"); scanf ("%d", &choices); switch (choices) { case 1: addfunction(&x, &y, &z, &sum); printf ("%d+%d+%d=%d.\n",x,y,z,sum); break; case 2: sortnswap(&x, &y, &z); printf ("%d %d %d \n", x, y, z); break; …

Member Avatar
0
5
Member Avatar

The program should change a sentence to pig Latin. [B]Rules[B][/B][/B] A word starting with a vowel should start with a capital letter and the rest with small letters and end with "way". If a word starts with a consonant the first letter will move to the last until it starts with a vowel then make the First letter capital and the rest small letters and finally ends the word with "ay" [B]Example[/B] PLEASE hElp Me I NeEd You output: Easeplay Elphay Emay Iway Eednay Ouyay [B]Main.c[/B] [CODE] #include<stdio.h> #include<string.h> #include<stdlib.h> #include<ctype.h> #include"function.h" main(){ char word[100]; input(word); divider(word); } [/CODE] [B]function.h[/B] …

Member Avatar
0
11

The End.